function [ vBase, nLDof, xLDof, sfun ] = sf_hex_Q5( i_eval, n_sdim, n_vert, i_dof, xi, aInvJac, vBase )
%SF_HEX_Q5 Triquintic conforming shape function for hexahedrons (Q5).
%
%   [ VBASE, NLDOF, XLDOF, SFUN ] = SF_HEX_Q5( I_EVAL, N_SDIM, N_VERT, I_DOF, XI, AINVJAC, VBASE )
%   Evaluates conforming triquintic Q5 shape functions on hexahedrons with values defined
%   in the nodes, edges, faces, and cell center. XI is [-1..1]^3 reference coordinates.
%
%       Input       Value/[Size]           Description
%       -----------------------------------------------------------------------------------
%       i_eval      scalar:  1             Evaluate function values
%                           >1             Evaluate values of derivatives
%       n_sdim      scalar:  3             Number of space dimensions
%       n_vert      scalar:  8             Number of vertices per cell
%       i_dof       scalar: 1-n_ldof       Local basis function to evaluate
%       xi          [n_sdim]               Local coordinates of evaluation point
%       aInvJac     [n,n_sdim*n_sdim]      Inverse of transformation Jacobian
%       vBase       [n]                    Preallocated output vector
%                                                                                         .
%       Output      Value/[Size]           Description
%       -----------------------------------------------------------------------------------
%       vBase       [n]                    Evaluated function values
%       nLDof       [4]                    Number of local degrees of freedom on
%                                          vertices, edges, faces, and cell interiors
%       xLDof       [n_sdim,n_ldof]        Local coordinates of local dofs
%       sfun        string                 Function name of called shape function
%
%   See also SFLAG5, SF_HEX_Q1

% Copyright 2013-2019 Precise Simulation, Ltd.


nLDof = [8 48 96 64];
xLDof = [-1  1  1 -1 -1  1 1 -1 -3/5    1 3/5  -1   -1    1    1   -1 -3/5    1 3/5  -1 -1/5    1 1/5  -1   -1    1    1   -1 -1/5    1 1/5  -1 1/5   1 -1/5   -1  -1   1   1  -1 1/5   1 -1/5   -1 3/5   1 -3/5   -1  -1   1   1  -1 3/5   1 -3/5   -1 -3/5 -3/5    1  3/5   -1 -3/5 -1/5 -1/5    1  1/5   -1 -1/5  1/5  1/5    1 -1/5   -1  1/5  3/5  3/5    1 -3/5   -1  3/5  3/5  3/5    1 -3/5   -1  3/5 3/5 3/5   1 -3/5   -1 3/5 3/5 3/5   1 -3/5   -1 3/5 1/5 1/5   1 -1/5   -1 1/5 -1/5 -1/5    1 1/5  -1 -1/5 -3/5 -3/5    1 3/5  -1 -3/5 -3/5 -3/5    1 3/5  -1 -3/5 -3/5 -3/5    1  3/5   -1 -3/5 -1/5 -1/5    1  1/5   -1 -1/5  1/5  1/5    1 -1/5   -1  1/5 1/5 1/5   1 -1/5   -1 1/5 -1/5 -1/5    1 1/5  -1 -1/5 -3/5 -1/5  1/5  3/5 -3/5 -1/5  1/5  3/5 -3/5 -1/5  1/5  3/5 -3/5 -1/5  1/5  3/5 -3/5 -1/5  1/5  3/5 -3/5 -1/5  1/5  3/5 -3/5 -1/5  1/5  3/5 -3/5 -1/5  1/5  3/5 -3/5 -1/5  1/5  3/5 -3/5 -1/5  1/5  3/5 -3/5 -1/5 1/5 3/5 -3/5 -1/5 1/5 3/5 -3/5 -1/5  1/5  3/5 -3/5 -1/5  1/5  3/5 -3/5 -1/5 1/5 3/5 -3/5 -1/5 1/5 3/5;
         -1 -1  1  1 -1 -1 1  1   -1 -3/5   1 3/5   -1   -1    1    1   -1 -3/5   1 3/5   -1 -1/5   1 1/5   -1   -1    1    1   -1 -1/5   1 1/5  -1 1/5    1 -1/5  -1  -1   1   1  -1 1/5    1 -1/5  -1 3/5    1 -3/5  -1  -1   1   1  -1 3/5    1 -3/5 -3/5   -1 -3/5    1  3/5 -3/5 -3/5   -1 -1/5    1  1/5 -3/5 -3/5   -1  1/5    1 -1/5 -3/5 -3/5   -1  3/5    1 -3/5 -3/5 -1/5   -1  3/5    1 -3/5 -1/5 1/5  -1 3/5    1 -3/5 1/5 3/5  -1 3/5    1 -3/5 3/5 3/5  -1 1/5    1 -1/5 3/5  3/5   -1 -1/5   1 1/5  3/5  3/5   -1 -3/5   1 3/5  3/5  1/5   -1 -3/5   1 3/5  1/5 -1/5   -1 -3/5    1  3/5 -1/5 -1/5   -1 -1/5    1  1/5 -1/5 -1/5   -1  1/5    1 -1/5 -1/5 1/5  -1 1/5    1 -1/5 1/5  1/5   -1 -1/5   1 1/5  1/5 -3/5 -3/5 -3/5 -3/5 -1/5 -1/5 -1/5 -1/5  1/5  1/5  1/5  1/5  3/5  3/5  3/5  3/5 -3/5 -3/5 -3/5 -3/5 -1/5 -1/5 -1/5 -1/5  1/5  1/5  1/5  1/5  3/5  3/5  3/5  3/5 -3/5 -3/5 -3/5 -3/5 -1/5 -1/5 -1/5 -1/5  1/5  1/5 1/5 1/5  3/5  3/5 3/5 3/5 -3/5 -3/5 -3/5 -3/5 -1/5 -1/5 -1/5 -1/5  1/5  1/5 1/5 1/5  3/5  3/5 3/5 3/5;
         -1 -1 -1 -1  1  1 1  1   -1   -1  -1  -1 -3/5 -3/5 -3/5 -3/5    1    1   1   1   -1   -1  -1  -1 -1/5 -1/5 -1/5 -1/5    1    1   1   1  -1  -1   -1   -1 1/5 1/5 1/5 1/5   1   1    1    1  -1  -1   -1   -1 3/5 3/5 3/5 3/5   1   1    1    1   -1 -3/5 -3/5 -3/5 -3/5    1   -1 -3/5 -3/5 -3/5 -3/5    1   -1 -3/5 -3/5 -3/5 -3/5    1   -1 -3/5 -3/5 -3/5 -3/5    1   -1 -1/5 -1/5 -1/5 -1/5    1  -1 1/5 1/5  1/5  1/5   1  -1 3/5 3/5  3/5  3/5   1  -1 3/5 3/5  3/5  3/5   1   -1  3/5  3/5 3/5 3/5    1   -1  3/5  3/5 3/5 3/5    1   -1  1/5  1/5 1/5 1/5    1   -1 -1/5 -1/5 -1/5 -1/5    1   -1 -1/5 -1/5 -1/5 -1/5    1   -1 -1/5 -1/5 -1/5 -1/5    1  -1 1/5 1/5  1/5  1/5   1   -1  1/5  1/5 1/5 1/5    1 -3/5 -3/5 -3/5 -3/5 -3/5 -3/5 -3/5 -3/5 -3/5 -3/5 -3/5 -3/5 -3/5 -3/5 -3/5 -3/5 -1/5 -1/5 -1/5 -1/5 -1/5 -1/5 -1/5 -1/5 -1/5 -1/5 -1/5 -1/5 -1/5 -1/5 -1/5 -1/5  1/5  1/5  1/5  1/5  1/5  1/5  1/5  1/5  1/5  1/5 1/5 1/5  1/5  1/5 1/5 1/5  3/5  3/5  3/5  3/5  3/5  3/5  3/5  3/5  3/5  3/5 3/5 3/5  3/5  3/5 3/5 3/5];
sfun  = 'sf_hex_Q5';


switch i_eval

  case 1

    switch i_dof

      case 1
        vBase = -((625*xi(1)^5 - 625*xi(1)^4 - 250*xi(1)^3 + 250*xi(1)^2 + 9*xi(1) - 9)*(625*xi(2)^5 - 625*xi(2)^4 - 250*xi(2)^3 + 250*xi(2)^2 + 9*xi(2) - 9)*(625*xi(3)^5 - 625*xi(3)^4 - 250*xi(3)^3 + 250*xi(3)^2 + 9*xi(3) - 9))/452984832;
      case 2
        vBase = ((625*xi(1)^5 + 625*xi(1)^4 - 250*xi(1)^3 - 250*xi(1)^2 + 9*xi(1) + 9)*(625*xi(2)^5 - 625*xi(2)^4 - 250*xi(2)^3 + 250*xi(2)^2 + 9*xi(2) - 9)*(625*xi(3)^5 - 625*xi(3)^4 - 250*xi(3)^3 + 250*xi(3)^2 + 9*xi(3) - 9))/452984832;
      case 3
        vBase = -((625*xi(1)^5 + 625*xi(1)^4 - 250*xi(1)^3 - 250*xi(1)^2 + 9*xi(1) + 9)*(625*xi(2)^5 + 625*xi(2)^4 - 250*xi(2)^3 - 250*xi(2)^2 + 9*xi(2) + 9)*(625*xi(3)^5 - 625*xi(3)^4 - 250*xi(3)^3 + 250*xi(3)^2 + 9*xi(3) - 9))/452984832;
      case 4
        vBase = ((625*xi(1)^5 - 625*xi(1)^4 - 250*xi(1)^3 + 250*xi(1)^2 + 9*xi(1) - 9)*(625*xi(2)^5 + 625*xi(2)^4 - 250*xi(2)^3 - 250*xi(2)^2 + 9*xi(2) + 9)*(625*xi(3)^5 - 625*xi(3)^4 - 250*xi(3)^3 + 250*xi(3)^2 + 9*xi(3) - 9))/452984832;
      case 5
        vBase = ((625*xi(1)^5 - 625*xi(1)^4 - 250*xi(1)^3 + 250*xi(1)^2 + 9*xi(1) - 9)*(625*xi(2)^5 - 625*xi(2)^4 - 250*xi(2)^3 + 250*xi(2)^2 + 9*xi(2) - 9)*(625*xi(3)^5 + 625*xi(3)^4 - 250*xi(3)^3 - 250*xi(3)^2 + 9*xi(3) + 9))/452984832;
      case 6
        vBase = -((625*xi(1)^5 + 625*xi(1)^4 - 250*xi(1)^3 - 250*xi(1)^2 + 9*xi(1) + 9)*(625*xi(2)^5 - 625*xi(2)^4 - 250*xi(2)^3 + 250*xi(2)^2 + 9*xi(2) - 9)*(625*xi(3)^5 + 625*xi(3)^4 - 250*xi(3)^3 - 250*xi(3)^2 + 9*xi(3) + 9))/452984832;
      case 7
        vBase = ((625*xi(1)^5 + 625*xi(1)^4 - 250*xi(1)^3 - 250*xi(1)^2 + 9*xi(1) + 9)*(625*xi(2)^5 + 625*xi(2)^4 - 250*xi(2)^3 - 250*xi(2)^2 + 9*xi(2) + 9)*(625*xi(3)^5 + 625*xi(3)^4 - 250*xi(3)^3 - 250*xi(3)^2 + 9*xi(3) + 9))/452984832;
      case 8
        vBase = -((625*xi(1)^5 - 625*xi(1)^4 - 250*xi(1)^3 + 250*xi(1)^2 + 9*xi(1) - 9)*(625*xi(2)^5 + 625*xi(2)^4 - 250*xi(2)^3 - 250*xi(2)^2 + 9*xi(2) + 9)*(625*xi(3)^5 + 625*xi(3)^4 - 250*xi(3)^3 - 250*xi(3)^2 + 9*xi(3) + 9))/452984832;
      case 9
        vBase = ((625*xi(2)^5 - 625*xi(2)^4 - 250*xi(2)^3 + 250*xi(2)^2 + 9*xi(2) - 9)*(625*xi(3)^5 - 625*xi(3)^4 - 250*xi(3)^3 + 250*xi(3)^2 + 9*xi(3) - 9)*(3125*xi(1)^5 - 1875*xi(1)^4 - 3250*xi(1)^3 + 1950*xi(1)^2 + 125*xi(1) - 75))/452984832;
      case 10
        vBase = -((625*xi(1)^5 + 625*xi(1)^4 - 250*xi(1)^3 - 250*xi(1)^2 + 9*xi(1) + 9)*(625*xi(3)^5 - 625*xi(3)^4 - 250*xi(3)^3 + 250*xi(3)^2 + 9*xi(3) - 9)*(3125*xi(2)^5 - 1875*xi(2)^4 - 3250*xi(2)^3 + 1950*xi(2)^2 + 125*xi(2) - 75))/452984832;
      case 11
        vBase = ((625*xi(2)^5 + 625*xi(2)^4 - 250*xi(2)^3 - 250*xi(2)^2 + 9*xi(2) + 9)*(625*xi(3)^5 - 625*xi(3)^4 - 250*xi(3)^3 + 250*xi(3)^2 + 9*xi(3) - 9)*(3125*xi(1)^5 + 1875*xi(1)^4 - 3250*xi(1)^3 - 1950*xi(1)^2 + 125*xi(1) + 75))/452984832;
      case 12
        vBase = -((625*xi(1)^5 - 625*xi(1)^4 - 250*xi(1)^3 + 250*xi(1)^2 + 9*xi(1) - 9)*(625*xi(3)^5 - 625*xi(3)^4 - 250*xi(3)^3 + 250*xi(3)^2 + 9*xi(3) - 9)*(3125*xi(2)^5 + 1875*xi(2)^4 - 3250*xi(2)^3 - 1950*xi(2)^2 + 125*xi(2) + 75))/452984832;
      case 13
        vBase = ((625*xi(1)^5 - 625*xi(1)^4 - 250*xi(1)^3 + 250*xi(1)^2 + 9*xi(1) - 9)*(625*xi(2)^5 - 625*xi(2)^4 - 250*xi(2)^3 + 250*xi(2)^2 + 9*xi(2) - 9)*(3125*xi(3)^5 - 1875*xi(3)^4 - 3250*xi(3)^3 + 1950*xi(3)^2 + 125*xi(3) - 75))/452984832;
      case 14
        vBase = -((625*xi(1)^5 + 625*xi(1)^4 - 250*xi(1)^3 - 250*xi(1)^2 + 9*xi(1) + 9)*(625*xi(2)^5 - 625*xi(2)^4 - 250*xi(2)^3 + 250*xi(2)^2 + 9*xi(2) - 9)*(3125*xi(3)^5 - 1875*xi(3)^4 - 3250*xi(3)^3 + 1950*xi(3)^2 + 125*xi(3) - 75))/452984832;
      case 15
        vBase = ((625*xi(1)^5 + 625*xi(1)^4 - 250*xi(1)^3 - 250*xi(1)^2 + 9*xi(1) + 9)*(625*xi(2)^5 + 625*xi(2)^4 - 250*xi(2)^3 - 250*xi(2)^2 + 9*xi(2) + 9)*(3125*xi(3)^5 - 1875*xi(3)^4 - 3250*xi(3)^3 + 1950*xi(3)^2 + 125*xi(3) - 75))/452984832;
      case 16
        vBase = -((625*xi(1)^5 - 625*xi(1)^4 - 250*xi(1)^3 + 250*xi(1)^2 + 9*xi(1) - 9)*(625*xi(2)^5 + 625*xi(2)^4 - 250*xi(2)^3 - 250*xi(2)^2 + 9*xi(2) + 9)*(3125*xi(3)^5 - 1875*xi(3)^4 - 3250*xi(3)^3 + 1950*xi(3)^2 + 125*xi(3) - 75))/452984832;
      case 17
        vBase = -((625*xi(2)^5 - 625*xi(2)^4 - 250*xi(2)^3 + 250*xi(2)^2 + 9*xi(2) - 9)*(625*xi(3)^5 + 625*xi(3)^4 - 250*xi(3)^3 - 250*xi(3)^2 + 9*xi(3) + 9)*(3125*xi(1)^5 - 1875*xi(1)^4 - 3250*xi(1)^3 + 1950*xi(1)^2 + 125*xi(1) - 75))/452984832;
      case 18
        vBase = ((625*xi(1)^5 + 625*xi(1)^4 - 250*xi(1)^3 - 250*xi(1)^2 + 9*xi(1) + 9)*(625*xi(3)^5 + 625*xi(3)^4 - 250*xi(3)^3 - 250*xi(3)^2 + 9*xi(3) + 9)*(3125*xi(2)^5 - 1875*xi(2)^4 - 3250*xi(2)^3 + 1950*xi(2)^2 + 125*xi(2) - 75))/452984832;
      case 19
        vBase = -((625*xi(2)^5 + 625*xi(2)^4 - 250*xi(2)^3 - 250*xi(2)^2 + 9*xi(2) + 9)*(625*xi(3)^5 + 625*xi(3)^4 - 250*xi(3)^3 - 250*xi(3)^2 + 9*xi(3) + 9)*(3125*xi(1)^5 + 1875*xi(1)^4 - 3250*xi(1)^3 - 1950*xi(1)^2 + 125*xi(1) + 75))/452984832;
      case 20
        vBase = ((625*xi(1)^5 - 625*xi(1)^4 - 250*xi(1)^3 + 250*xi(1)^2 + 9*xi(1) - 9)*(625*xi(3)^5 + 625*xi(3)^4 - 250*xi(3)^3 - 250*xi(3)^2 + 9*xi(3) + 9)*(3125*xi(2)^5 + 1875*xi(2)^4 - 3250*xi(2)^3 - 1950*xi(2)^2 + 125*xi(2) + 75))/452984832;
      case 21
        vBase = -((625*xi(2)^5 - 625*xi(2)^4 - 250*xi(2)^3 + 250*xi(2)^2 + 9*xi(2) - 9)*(625*xi(3)^5 - 625*xi(3)^4 - 250*xi(3)^3 + 250*xi(3)^2 + 9*xi(3) - 9)*(3125*xi(1)^5 - 625*xi(1)^4 - 4250*xi(1)^3 + 850*xi(1)^2 + 1125*xi(1) - 225))/226492416;
      case 22
        vBase = ((625*xi(1)^5 + 625*xi(1)^4 - 250*xi(1)^3 - 250*xi(1)^2 + 9*xi(1) + 9)*(625*xi(3)^5 - 625*xi(3)^4 - 250*xi(3)^3 + 250*xi(3)^2 + 9*xi(3) - 9)*(3125*xi(2)^5 - 625*xi(2)^4 - 4250*xi(2)^3 + 850*xi(2)^2 + 1125*xi(2) - 225))/226492416;
      case 23
        vBase = -((625*xi(2)^5 + 625*xi(2)^4 - 250*xi(2)^3 - 250*xi(2)^2 + 9*xi(2) + 9)*(625*xi(3)^5 - 625*xi(3)^4 - 250*xi(3)^3 + 250*xi(3)^2 + 9*xi(3) - 9)*(3125*xi(1)^5 + 625*xi(1)^4 - 4250*xi(1)^3 - 850*xi(1)^2 + 1125*xi(1) + 225))/226492416;
      case 24
        vBase = ((625*xi(1)^5 - 625*xi(1)^4 - 250*xi(1)^3 + 250*xi(1)^2 + 9*xi(1) - 9)*(625*xi(3)^5 - 625*xi(3)^4 - 250*xi(3)^3 + 250*xi(3)^2 + 9*xi(3) - 9)*(3125*xi(2)^5 + 625*xi(2)^4 - 4250*xi(2)^3 - 850*xi(2)^2 + 1125*xi(2) + 225))/226492416;
      case 25
        vBase = -((625*xi(1)^5 - 625*xi(1)^4 - 250*xi(1)^3 + 250*xi(1)^2 + 9*xi(1) - 9)*(625*xi(2)^5 - 625*xi(2)^4 - 250*xi(2)^3 + 250*xi(2)^2 + 9*xi(2) - 9)*(3125*xi(3)^5 - 625*xi(3)^4 - 4250*xi(3)^3 + 850*xi(3)^2 + 1125*xi(3) - 225))/226492416;
      case 26
        vBase = ((625*xi(1)^5 + 625*xi(1)^4 - 250*xi(1)^3 - 250*xi(1)^2 + 9*xi(1) + 9)*(625*xi(2)^5 - 625*xi(2)^4 - 250*xi(2)^3 + 250*xi(2)^2 + 9*xi(2) - 9)*(3125*xi(3)^5 - 625*xi(3)^4 - 4250*xi(3)^3 + 850*xi(3)^2 + 1125*xi(3) - 225))/226492416;
      case 27
        vBase = -((625*xi(1)^5 + 625*xi(1)^4 - 250*xi(1)^3 - 250*xi(1)^2 + 9*xi(1) + 9)*(625*xi(2)^5 + 625*xi(2)^4 - 250*xi(2)^3 - 250*xi(2)^2 + 9*xi(2) + 9)*(3125*xi(3)^5 - 625*xi(3)^4 - 4250*xi(3)^3 + 850*xi(3)^2 + 1125*xi(3) - 225))/226492416;
      case 28
        vBase = ((625*xi(1)^5 - 625*xi(1)^4 - 250*xi(1)^3 + 250*xi(1)^2 + 9*xi(1) - 9)*(625*xi(2)^5 + 625*xi(2)^4 - 250*xi(2)^3 - 250*xi(2)^2 + 9*xi(2) + 9)*(3125*xi(3)^5 - 625*xi(3)^4 - 4250*xi(3)^3 + 850*xi(3)^2 + 1125*xi(3) - 225))/226492416;
      case 29
        vBase = ((625*xi(2)^5 - 625*xi(2)^4 - 250*xi(2)^3 + 250*xi(2)^2 + 9*xi(2) - 9)*(625*xi(3)^5 + 625*xi(3)^4 - 250*xi(3)^3 - 250*xi(3)^2 + 9*xi(3) + 9)*(3125*xi(1)^5 - 625*xi(1)^4 - 4250*xi(1)^3 + 850*xi(1)^2 + 1125*xi(1) - 225))/226492416;
      case 30
        vBase = -((625*xi(1)^5 + 625*xi(1)^4 - 250*xi(1)^3 - 250*xi(1)^2 + 9*xi(1) + 9)*(625*xi(3)^5 + 625*xi(3)^4 - 250*xi(3)^3 - 250*xi(3)^2 + 9*xi(3) + 9)*(3125*xi(2)^5 - 625*xi(2)^4 - 4250*xi(2)^3 + 850*xi(2)^2 + 1125*xi(2) - 225))/226492416;
      case 31
        vBase = ((625*xi(2)^5 + 625*xi(2)^4 - 250*xi(2)^3 - 250*xi(2)^2 + 9*xi(2) + 9)*(625*xi(3)^5 + 625*xi(3)^4 - 250*xi(3)^3 - 250*xi(3)^2 + 9*xi(3) + 9)*(3125*xi(1)^5 + 625*xi(1)^4 - 4250*xi(1)^3 - 850*xi(1)^2 + 1125*xi(1) + 225))/226492416;
      case 32
        vBase = -((625*xi(1)^5 - 625*xi(1)^4 - 250*xi(1)^3 + 250*xi(1)^2 + 9*xi(1) - 9)*(625*xi(3)^5 + 625*xi(3)^4 - 250*xi(3)^3 - 250*xi(3)^2 + 9*xi(3) + 9)*(3125*xi(2)^5 + 625*xi(2)^4 - 4250*xi(2)^3 - 850*xi(2)^2 + 1125*xi(2) + 225))/226492416;
      case 33
        vBase = ((625*xi(2)^5 - 625*xi(2)^4 - 250*xi(2)^3 + 250*xi(2)^2 + 9*xi(2) - 9)*(625*xi(3)^5 - 625*xi(3)^4 - 250*xi(3)^3 + 250*xi(3)^2 + 9*xi(3) - 9)*(3125*xi(1)^5 + 625*xi(1)^4 - 4250*xi(1)^3 - 850*xi(1)^2 + 1125*xi(1) + 225))/226492416;
      case 34
        vBase = -((625*xi(1)^5 + 625*xi(1)^4 - 250*xi(1)^3 - 250*xi(1)^2 + 9*xi(1) + 9)*(625*xi(3)^5 - 625*xi(3)^4 - 250*xi(3)^3 + 250*xi(3)^2 + 9*xi(3) - 9)*(3125*xi(2)^5 + 625*xi(2)^4 - 4250*xi(2)^3 - 850*xi(2)^2 + 1125*xi(2) + 225))/226492416;
      case 35
        vBase = ((625*xi(2)^5 + 625*xi(2)^4 - 250*xi(2)^3 - 250*xi(2)^2 + 9*xi(2) + 9)*(625*xi(3)^5 - 625*xi(3)^4 - 250*xi(3)^3 + 250*xi(3)^2 + 9*xi(3) - 9)*(3125*xi(1)^5 - 625*xi(1)^4 - 4250*xi(1)^3 + 850*xi(1)^2 + 1125*xi(1) - 225))/226492416;
      case 36
        vBase = -((625*xi(1)^5 - 625*xi(1)^4 - 250*xi(1)^3 + 250*xi(1)^2 + 9*xi(1) - 9)*(625*xi(3)^5 - 625*xi(3)^4 - 250*xi(3)^3 + 250*xi(3)^2 + 9*xi(3) - 9)*(3125*xi(2)^5 - 625*xi(2)^4 - 4250*xi(2)^3 + 850*xi(2)^2 + 1125*xi(2) - 225))/226492416;
      case 37
        vBase = ((625*xi(1)^5 - 625*xi(1)^4 - 250*xi(1)^3 + 250*xi(1)^2 + 9*xi(1) - 9)*(625*xi(2)^5 - 625*xi(2)^4 - 250*xi(2)^3 + 250*xi(2)^2 + 9*xi(2) - 9)*(3125*xi(3)^5 + 625*xi(3)^4 - 4250*xi(3)^3 - 850*xi(3)^2 + 1125*xi(3) + 225))/226492416;
      case 38
        vBase = -((625*xi(1)^5 + 625*xi(1)^4 - 250*xi(1)^3 - 250*xi(1)^2 + 9*xi(1) + 9)*(625*xi(2)^5 - 625*xi(2)^4 - 250*xi(2)^3 + 250*xi(2)^2 + 9*xi(2) - 9)*(3125*xi(3)^5 + 625*xi(3)^4 - 4250*xi(3)^3 - 850*xi(3)^2 + 1125*xi(3) + 225))/226492416;
      case 39
        vBase = ((625*xi(1)^5 + 625*xi(1)^4 - 250*xi(1)^3 - 250*xi(1)^2 + 9*xi(1) + 9)*(625*xi(2)^5 + 625*xi(2)^4 - 250*xi(2)^3 - 250*xi(2)^2 + 9*xi(2) + 9)*(3125*xi(3)^5 + 625*xi(3)^4 - 4250*xi(3)^3 - 850*xi(3)^2 + 1125*xi(3) + 225))/226492416;
      case 40
        vBase = -((625*xi(1)^5 - 625*xi(1)^4 - 250*xi(1)^3 + 250*xi(1)^2 + 9*xi(1) - 9)*(625*xi(2)^5 + 625*xi(2)^4 - 250*xi(2)^3 - 250*xi(2)^2 + 9*xi(2) + 9)*(3125*xi(3)^5 + 625*xi(3)^4 - 4250*xi(3)^3 - 850*xi(3)^2 + 1125*xi(3) + 225))/226492416;
      case 41
        vBase = -((625*xi(2)^5 - 625*xi(2)^4 - 250*xi(2)^3 + 250*xi(2)^2 + 9*xi(2) - 9)*(625*xi(3)^5 + 625*xi(3)^4 - 250*xi(3)^3 - 250*xi(3)^2 + 9*xi(3) + 9)*(3125*xi(1)^5 + 625*xi(1)^4 - 4250*xi(1)^3 - 850*xi(1)^2 + 1125*xi(1) + 225))/226492416;
      case 42
        vBase = ((625*xi(1)^5 + 625*xi(1)^4 - 250*xi(1)^3 - 250*xi(1)^2 + 9*xi(1) + 9)*(625*xi(3)^5 + 625*xi(3)^4 - 250*xi(3)^3 - 250*xi(3)^2 + 9*xi(3) + 9)*(3125*xi(2)^5 + 625*xi(2)^4 - 4250*xi(2)^3 - 850*xi(2)^2 + 1125*xi(2) + 225))/226492416;
      case 43
        vBase = -((625*xi(2)^5 + 625*xi(2)^4 - 250*xi(2)^3 - 250*xi(2)^2 + 9*xi(2) + 9)*(625*xi(3)^5 + 625*xi(3)^4 - 250*xi(3)^3 - 250*xi(3)^2 + 9*xi(3) + 9)*(3125*xi(1)^5 - 625*xi(1)^4 - 4250*xi(1)^3 + 850*xi(1)^2 + 1125*xi(1) - 225))/226492416;
      case 44
        vBase = ((625*xi(1)^5 - 625*xi(1)^4 - 250*xi(1)^3 + 250*xi(1)^2 + 9*xi(1) - 9)*(625*xi(3)^5 + 625*xi(3)^4 - 250*xi(3)^3 - 250*xi(3)^2 + 9*xi(3) + 9)*(3125*xi(2)^5 - 625*xi(2)^4 - 4250*xi(2)^3 + 850*xi(2)^2 + 1125*xi(2) - 225))/226492416;
      case 45
        vBase = -((625*xi(2)^5 - 625*xi(2)^4 - 250*xi(2)^3 + 250*xi(2)^2 + 9*xi(2) - 9)*(625*xi(3)^5 - 625*xi(3)^4 - 250*xi(3)^3 + 250*xi(3)^2 + 9*xi(3) - 9)*(3125*xi(1)^5 + 1875*xi(1)^4 - 3250*xi(1)^3 - 1950*xi(1)^2 + 125*xi(1) + 75))/452984832;
      case 46
        vBase = ((625*xi(1)^5 + 625*xi(1)^4 - 250*xi(1)^3 - 250*xi(1)^2 + 9*xi(1) + 9)*(625*xi(3)^5 - 625*xi(3)^4 - 250*xi(3)^3 + 250*xi(3)^2 + 9*xi(3) - 9)*(3125*xi(2)^5 + 1875*xi(2)^4 - 3250*xi(2)^3 - 1950*xi(2)^2 + 125*xi(2) + 75))/452984832;
      case 47
        vBase = -((625*xi(2)^5 + 625*xi(2)^4 - 250*xi(2)^3 - 250*xi(2)^2 + 9*xi(2) + 9)*(625*xi(3)^5 - 625*xi(3)^4 - 250*xi(3)^3 + 250*xi(3)^2 + 9*xi(3) - 9)*(3125*xi(1)^5 - 1875*xi(1)^4 - 3250*xi(1)^3 + 1950*xi(1)^2 + 125*xi(1) - 75))/452984832;
      case 48
        vBase = ((625*xi(1)^5 - 625*xi(1)^4 - 250*xi(1)^3 + 250*xi(1)^2 + 9*xi(1) - 9)*(625*xi(3)^5 - 625*xi(3)^4 - 250*xi(3)^3 + 250*xi(3)^2 + 9*xi(3) - 9)*(3125*xi(2)^5 - 1875*xi(2)^4 - 3250*xi(2)^3 + 1950*xi(2)^2 + 125*xi(2) - 75))/452984832;
      case 49
        vBase = -((625*xi(1)^5 - 625*xi(1)^4 - 250*xi(1)^3 + 250*xi(1)^2 + 9*xi(1) - 9)*(625*xi(2)^5 - 625*xi(2)^4 - 250*xi(2)^3 + 250*xi(2)^2 + 9*xi(2) - 9)*(3125*xi(3)^5 + 1875*xi(3)^4 - 3250*xi(3)^3 - 1950*xi(3)^2 + 125*xi(3) + 75))/452984832;
      case 50
        vBase = ((625*xi(1)^5 + 625*xi(1)^4 - 250*xi(1)^3 - 250*xi(1)^2 + 9*xi(1) + 9)*(625*xi(2)^5 - 625*xi(2)^4 - 250*xi(2)^3 + 250*xi(2)^2 + 9*xi(2) - 9)*(3125*xi(3)^5 + 1875*xi(3)^4 - 3250*xi(3)^3 - 1950*xi(3)^2 + 125*xi(3) + 75))/452984832;
      case 51
        vBase = -((625*xi(1)^5 + 625*xi(1)^4 - 250*xi(1)^3 - 250*xi(1)^2 + 9*xi(1) + 9)*(625*xi(2)^5 + 625*xi(2)^4 - 250*xi(2)^3 - 250*xi(2)^2 + 9*xi(2) + 9)*(3125*xi(3)^5 + 1875*xi(3)^4 - 3250*xi(3)^3 - 1950*xi(3)^2 + 125*xi(3) + 75))/452984832;
      case 52
        vBase = ((625*xi(1)^5 - 625*xi(1)^4 - 250*xi(1)^3 + 250*xi(1)^2 + 9*xi(1) - 9)*(625*xi(2)^5 + 625*xi(2)^4 - 250*xi(2)^3 - 250*xi(2)^2 + 9*xi(2) + 9)*(3125*xi(3)^5 + 1875*xi(3)^4 - 3250*xi(3)^3 - 1950*xi(3)^2 + 125*xi(3) + 75))/452984832;
      case 53
        vBase = ((625*xi(2)^5 - 625*xi(2)^4 - 250*xi(2)^3 + 250*xi(2)^2 + 9*xi(2) - 9)*(625*xi(3)^5 + 625*xi(3)^4 - 250*xi(3)^3 - 250*xi(3)^2 + 9*xi(3) + 9)*(3125*xi(1)^5 + 1875*xi(1)^4 - 3250*xi(1)^3 - 1950*xi(1)^2 + 125*xi(1) + 75))/452984832;
      case 54
        vBase = -((625*xi(1)^5 + 625*xi(1)^4 - 250*xi(1)^3 - 250*xi(1)^2 + 9*xi(1) + 9)*(625*xi(3)^5 + 625*xi(3)^4 - 250*xi(3)^3 - 250*xi(3)^2 + 9*xi(3) + 9)*(3125*xi(2)^5 + 1875*xi(2)^4 - 3250*xi(2)^3 - 1950*xi(2)^2 + 125*xi(2) + 75))/452984832;
      case 55
        vBase = ((625*xi(2)^5 + 625*xi(2)^4 - 250*xi(2)^3 - 250*xi(2)^2 + 9*xi(2) + 9)*(625*xi(3)^5 + 625*xi(3)^4 - 250*xi(3)^3 - 250*xi(3)^2 + 9*xi(3) + 9)*(3125*xi(1)^5 - 1875*xi(1)^4 - 3250*xi(1)^3 + 1950*xi(1)^2 + 125*xi(1) - 75))/452984832;
      case 56
        vBase = -((625*xi(1)^5 - 625*xi(1)^4 - 250*xi(1)^3 + 250*xi(1)^2 + 9*xi(1) - 9)*(625*xi(3)^5 + 625*xi(3)^4 - 250*xi(3)^3 - 250*xi(3)^2 + 9*xi(3) + 9)*(3125*xi(2)^5 - 1875*xi(2)^4 - 3250*xi(2)^3 + 1950*xi(2)^2 + 125*xi(2) - 75))/452984832;
      case 57
        vBase = -((125*xi(2)^5 - 75*xi(2)^4 - 130*xi(2)^3 + 78*xi(2)^2 + 5*xi(2) - 3)*(625*xi(3)^5 - 625*xi(3)^4 - 250*xi(3)^3 + 250*xi(3)^2 + 9*xi(3) - 9)*(78125*xi(1)^5 - 46875*xi(1)^4 - 81250*xi(1)^3 + 48750*xi(1)^2 + 3125*xi(1) - 1875))/452984832;
      case 58
        vBase = -((125*xi(3)^5 - 75*xi(3)^4 - 130*xi(3)^3 + 78*xi(3)^2 + 5*xi(3) - 3)*(625*xi(2)^5 - 625*xi(2)^4 - 250*xi(2)^3 + 250*xi(2)^2 + 9*xi(2) - 9)*(78125*xi(1)^5 - 46875*xi(1)^4 - 81250*xi(1)^3 + 48750*xi(1)^2 + 3125*xi(1) - 1875))/452984832;
      case 59
        vBase = ((625*xi(1)^5 + 625*xi(1)^4 - 250*xi(1)^3 - 250*xi(1)^2 + 9*xi(1) + 9)*(125*xi(3)^5 - 75*xi(3)^4 - 130*xi(3)^3 + 78*xi(3)^2 + 5*xi(3) - 3)*(78125*xi(2)^5 - 46875*xi(2)^4 - 81250*xi(2)^3 + 48750*xi(2)^2 + 3125*xi(2) - 1875))/452984832;
      case 60
        vBase = -((125*xi(3)^5 - 75*xi(3)^4 - 130*xi(3)^3 + 78*xi(3)^2 + 5*xi(3) - 3)*(625*xi(2)^5 + 625*xi(2)^4 - 250*xi(2)^3 - 250*xi(2)^2 + 9*xi(2) + 9)*(78125*xi(1)^5 + 46875*xi(1)^4 - 81250*xi(1)^3 - 48750*xi(1)^2 + 3125*xi(1) + 1875))/452984832;
      case 61
        vBase = ((625*xi(1)^5 - 625*xi(1)^4 - 250*xi(1)^3 + 250*xi(1)^2 + 9*xi(1) - 9)*(125*xi(3)^5 - 75*xi(3)^4 - 130*xi(3)^3 + 78*xi(3)^2 + 5*xi(3) - 3)*(78125*xi(2)^5 + 46875*xi(2)^4 - 81250*xi(2)^3 - 48750*xi(2)^2 + 3125*xi(2) + 1875))/452984832;
      case 62
        vBase = ((125*xi(2)^5 - 75*xi(2)^4 - 130*xi(2)^3 + 78*xi(2)^2 + 5*xi(2) - 3)*(625*xi(3)^5 + 625*xi(3)^4 - 250*xi(3)^3 - 250*xi(3)^2 + 9*xi(3) + 9)*(78125*xi(1)^5 - 46875*xi(1)^4 - 81250*xi(1)^3 + 48750*xi(1)^2 + 3125*xi(1) - 1875))/452984832;
      case 63
        vBase = ((125*xi(2)^5 - 75*xi(2)^4 - 130*xi(2)^3 + 78*xi(2)^2 + 5*xi(2) - 3)*(625*xi(3)^5 - 625*xi(3)^4 - 250*xi(3)^3 + 250*xi(3)^2 + 9*xi(3) - 9)*(78125*xi(1)^5 - 15625*xi(1)^4 - 106250*xi(1)^3 + 21250*xi(1)^2 + 28125*xi(1) - 5625))/226492416;
      case 64
        vBase = ((125*xi(3)^5 - 75*xi(3)^4 - 130*xi(3)^3 + 78*xi(3)^2 + 5*xi(3) - 3)*(625*xi(2)^5 - 625*xi(2)^4 - 250*xi(2)^3 + 250*xi(2)^2 + 9*xi(2) - 9)*(78125*xi(1)^5 - 15625*xi(1)^4 - 106250*xi(1)^3 + 21250*xi(1)^2 + 28125*xi(1) - 5625))/226492416;
      case 65
        vBase = -((625*xi(1)^5 + 625*xi(1)^4 - 250*xi(1)^3 - 250*xi(1)^2 + 9*xi(1) + 9)*(125*xi(3)^5 - 75*xi(3)^4 - 130*xi(3)^3 + 78*xi(3)^2 + 5*xi(3) - 3)*(78125*xi(2)^5 - 15625*xi(2)^4 - 106250*xi(2)^3 + 21250*xi(2)^2 + 28125*xi(2) - 5625))/226492416;
      case 66
        vBase = ((125*xi(3)^5 - 75*xi(3)^4 - 130*xi(3)^3 + 78*xi(3)^2 + 5*xi(3) - 3)*(625*xi(2)^5 + 625*xi(2)^4 - 250*xi(2)^3 - 250*xi(2)^2 + 9*xi(2) + 9)*(78125*xi(1)^5 + 15625*xi(1)^4 - 106250*xi(1)^3 - 21250*xi(1)^2 + 28125*xi(1) + 5625))/226492416;
      case 67
        vBase = -((625*xi(1)^5 - 625*xi(1)^4 - 250*xi(1)^3 + 250*xi(1)^2 + 9*xi(1) - 9)*(125*xi(3)^5 - 75*xi(3)^4 - 130*xi(3)^3 + 78*xi(3)^2 + 5*xi(3) - 3)*(78125*xi(2)^5 + 15625*xi(2)^4 - 106250*xi(2)^3 - 21250*xi(2)^2 + 28125*xi(2) + 5625))/226492416;
      case 68
        vBase = -((125*xi(2)^5 - 75*xi(2)^4 - 130*xi(2)^3 + 78*xi(2)^2 + 5*xi(2) - 3)*(625*xi(3)^5 + 625*xi(3)^4 - 250*xi(3)^3 - 250*xi(3)^2 + 9*xi(3) + 9)*(78125*xi(1)^5 - 15625*xi(1)^4 - 106250*xi(1)^3 + 21250*xi(1)^2 + 28125*xi(1) - 5625))/226492416;
      case 69
        vBase = -((125*xi(2)^5 - 75*xi(2)^4 - 130*xi(2)^3 + 78*xi(2)^2 + 5*xi(2) - 3)*(625*xi(3)^5 - 625*xi(3)^4 - 250*xi(3)^3 + 250*xi(3)^2 + 9*xi(3) - 9)*(78125*xi(1)^5 + 15625*xi(1)^4 - 106250*xi(1)^3 - 21250*xi(1)^2 + 28125*xi(1) + 5625))/226492416;
      case 70
        vBase = -((125*xi(3)^5 - 75*xi(3)^4 - 130*xi(3)^3 + 78*xi(3)^2 + 5*xi(3) - 3)*(625*xi(2)^5 - 625*xi(2)^4 - 250*xi(2)^3 + 250*xi(2)^2 + 9*xi(2) - 9)*(78125*xi(1)^5 + 15625*xi(1)^4 - 106250*xi(1)^3 - 21250*xi(1)^2 + 28125*xi(1) + 5625))/226492416;
      case 71
        vBase = ((625*xi(1)^5 + 625*xi(1)^4 - 250*xi(1)^3 - 250*xi(1)^2 + 9*xi(1) + 9)*(125*xi(3)^5 - 75*xi(3)^4 - 130*xi(3)^3 + 78*xi(3)^2 + 5*xi(3) - 3)*(78125*xi(2)^5 + 15625*xi(2)^4 - 106250*xi(2)^3 - 21250*xi(2)^2 + 28125*xi(2) + 5625))/226492416;
      case 72
        vBase = -((125*xi(3)^5 - 75*xi(3)^4 - 130*xi(3)^3 + 78*xi(3)^2 + 5*xi(3) - 3)*(625*xi(2)^5 + 625*xi(2)^4 - 250*xi(2)^3 - 250*xi(2)^2 + 9*xi(2) + 9)*(78125*xi(1)^5 - 15625*xi(1)^4 - 106250*xi(1)^3 + 21250*xi(1)^2 + 28125*xi(1) - 5625))/226492416;
      case 73
        vBase = ((625*xi(1)^5 - 625*xi(1)^4 - 250*xi(1)^3 + 250*xi(1)^2 + 9*xi(1) - 9)*(125*xi(3)^5 - 75*xi(3)^4 - 130*xi(3)^3 + 78*xi(3)^2 + 5*xi(3) - 3)*(78125*xi(2)^5 - 15625*xi(2)^4 - 106250*xi(2)^3 + 21250*xi(2)^2 + 28125*xi(2) - 5625))/226492416;
      case 74
        vBase = ((125*xi(2)^5 - 75*xi(2)^4 - 130*xi(2)^3 + 78*xi(2)^2 + 5*xi(2) - 3)*(625*xi(3)^5 + 625*xi(3)^4 - 250*xi(3)^3 - 250*xi(3)^2 + 9*xi(3) + 9)*(78125*xi(1)^5 + 15625*xi(1)^4 - 106250*xi(1)^3 - 21250*xi(1)^2 + 28125*xi(1) + 5625))/226492416;
      case 75
        vBase = ((125*xi(2)^5 - 75*xi(2)^4 - 130*xi(2)^3 + 78*xi(2)^2 + 5*xi(2) - 3)*(625*xi(3)^5 - 625*xi(3)^4 - 250*xi(3)^3 + 250*xi(3)^2 + 9*xi(3) - 9)*(78125*xi(1)^5 + 46875*xi(1)^4 - 81250*xi(1)^3 - 48750*xi(1)^2 + 3125*xi(1) + 1875))/452984832;
      case 76
        vBase = ((125*xi(3)^5 - 75*xi(3)^4 - 130*xi(3)^3 + 78*xi(3)^2 + 5*xi(3) - 3)*(625*xi(2)^5 - 625*xi(2)^4 - 250*xi(2)^3 + 250*xi(2)^2 + 9*xi(2) - 9)*(78125*xi(1)^5 + 46875*xi(1)^4 - 81250*xi(1)^3 - 48750*xi(1)^2 + 3125*xi(1) + 1875))/452984832;
      case 77
        vBase = -((625*xi(1)^5 + 625*xi(1)^4 - 250*xi(1)^3 - 250*xi(1)^2 + 9*xi(1) + 9)*(125*xi(3)^5 - 75*xi(3)^4 - 130*xi(3)^3 + 78*xi(3)^2 + 5*xi(3) - 3)*(78125*xi(2)^5 + 46875*xi(2)^4 - 81250*xi(2)^3 - 48750*xi(2)^2 + 3125*xi(2) + 1875))/452984832;
      case 78
        vBase = ((125*xi(3)^5 - 75*xi(3)^4 - 130*xi(3)^3 + 78*xi(3)^2 + 5*xi(3) - 3)*(625*xi(2)^5 + 625*xi(2)^4 - 250*xi(2)^3 - 250*xi(2)^2 + 9*xi(2) + 9)*(78125*xi(1)^5 - 46875*xi(1)^4 - 81250*xi(1)^3 + 48750*xi(1)^2 + 3125*xi(1) - 1875))/452984832;
      case 79
        vBase = -((625*xi(1)^5 - 625*xi(1)^4 - 250*xi(1)^3 + 250*xi(1)^2 + 9*xi(1) - 9)*(125*xi(3)^5 - 75*xi(3)^4 - 130*xi(3)^3 + 78*xi(3)^2 + 5*xi(3) - 3)*(78125*xi(2)^5 - 46875*xi(2)^4 - 81250*xi(2)^3 + 48750*xi(2)^2 + 3125*xi(2) - 1875))/452984832;
      case 80
        vBase = -((125*xi(2)^5 - 75*xi(2)^4 - 130*xi(2)^3 + 78*xi(2)^2 + 5*xi(2) - 3)*(625*xi(3)^5 + 625*xi(3)^4 - 250*xi(3)^3 - 250*xi(3)^2 + 9*xi(3) + 9)*(78125*xi(1)^5 + 46875*xi(1)^4 - 81250*xi(1)^3 - 48750*xi(1)^2 + 3125*xi(1) + 1875))/452984832;
      case 81
        vBase = -((125*xi(1)^5 + 75*xi(1)^4 - 130*xi(1)^3 - 78*xi(1)^2 + 5*xi(1) + 3)*(625*xi(3)^5 - 625*xi(3)^4 - 250*xi(3)^3 + 250*xi(3)^2 + 9*xi(3) - 9)*(78125*xi(2)^5 - 15625*xi(2)^4 - 106250*xi(2)^3 + 21250*xi(2)^2 + 28125*xi(2) - 5625))/226492416;
      case 82
        vBase = -((125*xi(3)^5 - 25*xi(3)^4 - 170*xi(3)^3 + 34*xi(3)^2 + 45*xi(3) - 9)*(625*xi(2)^5 - 625*xi(2)^4 - 250*xi(2)^3 + 250*xi(2)^2 + 9*xi(2) - 9)*(78125*xi(1)^5 + 46875*xi(1)^4 - 81250*xi(1)^3 - 48750*xi(1)^2 + 3125*xi(1) + 1875))/226492416;
      case 83
        vBase = ((125*xi(2)^5 + 75*xi(2)^4 - 130*xi(2)^3 - 78*xi(2)^2 + 5*xi(2) + 3)*(625*xi(1)^5 + 625*xi(1)^4 - 250*xi(1)^3 - 250*xi(1)^2 + 9*xi(1) + 9)*(78125*xi(3)^5 - 15625*xi(3)^4 - 106250*xi(3)^3 + 21250*xi(3)^2 + 28125*xi(3) - 5625))/226492416;
      case 84
        vBase = -((125*xi(3)^5 - 25*xi(3)^4 - 170*xi(3)^3 + 34*xi(3)^2 + 45*xi(3) - 9)*(625*xi(2)^5 + 625*xi(2)^4 - 250*xi(2)^3 - 250*xi(2)^2 + 9*xi(2) + 9)*(78125*xi(1)^5 - 46875*xi(1)^4 - 81250*xi(1)^3 + 48750*xi(1)^2 + 3125*xi(1) - 1875))/226492416;
      case 85
        vBase = ((125*xi(2)^5 - 75*xi(2)^4 - 130*xi(2)^3 + 78*xi(2)^2 + 5*xi(2) - 3)*(625*xi(1)^5 - 625*xi(1)^4 - 250*xi(1)^3 + 250*xi(1)^2 + 9*xi(1) - 9)*(78125*xi(3)^5 - 15625*xi(3)^4 - 106250*xi(3)^3 + 21250*xi(3)^2 + 28125*xi(3) - 5625))/226492416;
      case 86
        vBase = ((125*xi(1)^5 + 75*xi(1)^4 - 130*xi(1)^3 - 78*xi(1)^2 + 5*xi(1) + 3)*(625*xi(3)^5 + 625*xi(3)^4 - 250*xi(3)^3 - 250*xi(3)^2 + 9*xi(3) + 9)*(78125*xi(2)^5 - 15625*xi(2)^4 - 106250*xi(2)^3 + 21250*xi(2)^2 + 28125*xi(2) - 5625))/226492416;
      case 87
        vBase = ((125*xi(1)^5 + 75*xi(1)^4 - 130*xi(1)^3 - 78*xi(1)^2 + 5*xi(1) + 3)*(625*xi(3)^5 - 625*xi(3)^4 - 250*xi(3)^3 + 250*xi(3)^2 + 9*xi(3) - 9)*(78125*xi(2)^5 + 15625*xi(2)^4 - 106250*xi(2)^3 - 21250*xi(2)^2 + 28125*xi(2) + 5625))/226492416;
      case 88
        vBase = ((125*xi(3)^5 + 25*xi(3)^4 - 170*xi(3)^3 - 34*xi(3)^2 + 45*xi(3) + 9)*(625*xi(2)^5 - 625*xi(2)^4 - 250*xi(2)^3 + 250*xi(2)^2 + 9*xi(2) - 9)*(78125*xi(1)^5 + 46875*xi(1)^4 - 81250*xi(1)^3 - 48750*xi(1)^2 + 3125*xi(1) + 1875))/226492416;
      case 89
        vBase = -((125*xi(2)^5 + 75*xi(2)^4 - 130*xi(2)^3 - 78*xi(2)^2 + 5*xi(2) + 3)*(625*xi(1)^5 + 625*xi(1)^4 - 250*xi(1)^3 - 250*xi(1)^2 + 9*xi(1) + 9)*(78125*xi(3)^5 + 15625*xi(3)^4 - 106250*xi(3)^3 - 21250*xi(3)^2 + 28125*xi(3) + 5625))/226492416;
      case 90
        vBase = ((125*xi(3)^5 + 25*xi(3)^4 - 170*xi(3)^3 - 34*xi(3)^2 + 45*xi(3) + 9)*(625*xi(2)^5 + 625*xi(2)^4 - 250*xi(2)^3 - 250*xi(2)^2 + 9*xi(2) + 9)*(78125*xi(1)^5 - 46875*xi(1)^4 - 81250*xi(1)^3 + 48750*xi(1)^2 + 3125*xi(1) - 1875))/226492416;
      case 91
        vBase = -((125*xi(2)^5 - 75*xi(2)^4 - 130*xi(2)^3 + 78*xi(2)^2 + 5*xi(2) - 3)*(625*xi(1)^5 - 625*xi(1)^4 - 250*xi(1)^3 + 250*xi(1)^2 + 9*xi(1) - 9)*(78125*xi(3)^5 + 15625*xi(3)^4 - 106250*xi(3)^3 - 21250*xi(3)^2 + 28125*xi(3) + 5625))/226492416;
      case 92
        vBase = -((125*xi(1)^5 + 75*xi(1)^4 - 130*xi(1)^3 - 78*xi(1)^2 + 5*xi(1) + 3)*(625*xi(3)^5 + 625*xi(3)^4 - 250*xi(3)^3 - 250*xi(3)^2 + 9*xi(3) + 9)*(78125*xi(2)^5 + 15625*xi(2)^4 - 106250*xi(2)^3 - 21250*xi(2)^2 + 28125*xi(2) + 5625))/226492416;
      case 93
        vBase = -((125*xi(2)^5 + 75*xi(2)^4 - 130*xi(2)^3 - 78*xi(2)^2 + 5*xi(2) + 3)*(625*xi(3)^5 - 625*xi(3)^4 - 250*xi(3)^3 + 250*xi(3)^2 + 9*xi(3) - 9)*(78125*xi(1)^5 + 46875*xi(1)^4 - 81250*xi(1)^3 - 48750*xi(1)^2 + 3125*xi(1) + 1875))/452984832;
      case 94
        vBase = -((125*xi(3)^5 + 75*xi(3)^4 - 130*xi(3)^3 - 78*xi(3)^2 + 5*xi(3) + 3)*(625*xi(2)^5 - 625*xi(2)^4 - 250*xi(2)^3 + 250*xi(2)^2 + 9*xi(2) - 9)*(78125*xi(1)^5 + 46875*xi(1)^4 - 81250*xi(1)^3 - 48750*xi(1)^2 + 3125*xi(1) + 1875))/452984832;
      case 95
        vBase = ((625*xi(1)^5 + 625*xi(1)^4 - 250*xi(1)^3 - 250*xi(1)^2 + 9*xi(1) + 9)*(125*xi(3)^5 + 75*xi(3)^4 - 130*xi(3)^3 - 78*xi(3)^2 + 5*xi(3) + 3)*(78125*xi(2)^5 + 46875*xi(2)^4 - 81250*xi(2)^3 - 48750*xi(2)^2 + 3125*xi(2) + 1875))/452984832;
      case 96
        vBase = -((125*xi(3)^5 + 75*xi(3)^4 - 130*xi(3)^3 - 78*xi(3)^2 + 5*xi(3) + 3)*(625*xi(2)^5 + 625*xi(2)^4 - 250*xi(2)^3 - 250*xi(2)^2 + 9*xi(2) + 9)*(78125*xi(1)^5 - 46875*xi(1)^4 - 81250*xi(1)^3 + 48750*xi(1)^2 + 3125*xi(1) - 1875))/452984832;
      case 97
        vBase = ((625*xi(1)^5 - 625*xi(1)^4 - 250*xi(1)^3 + 250*xi(1)^2 + 9*xi(1) - 9)*(125*xi(3)^5 + 75*xi(3)^4 - 130*xi(3)^3 - 78*xi(3)^2 + 5*xi(3) + 3)*(78125*xi(2)^5 - 46875*xi(2)^4 - 81250*xi(2)^3 + 48750*xi(2)^2 + 3125*xi(2) - 1875))/452984832;
      case 98
        vBase = ((125*xi(2)^5 + 75*xi(2)^4 - 130*xi(2)^3 - 78*xi(2)^2 + 5*xi(2) + 3)*(625*xi(3)^5 + 625*xi(3)^4 - 250*xi(3)^3 - 250*xi(3)^2 + 9*xi(3) + 9)*(78125*xi(1)^5 + 46875*xi(1)^4 - 81250*xi(1)^3 - 48750*xi(1)^2 + 3125*xi(1) + 1875))/452984832;
      case 99
        vBase = ((125*xi(2)^5 + 75*xi(2)^4 - 130*xi(2)^3 - 78*xi(2)^2 + 5*xi(2) + 3)*(625*xi(3)^5 - 625*xi(3)^4 - 250*xi(3)^3 + 250*xi(3)^2 + 9*xi(3) - 9)*(78125*xi(1)^5 + 15625*xi(1)^4 - 106250*xi(1)^3 - 21250*xi(1)^2 + 28125*xi(1) + 5625))/226492416;
      case 100
        vBase = ((125*xi(3)^5 + 75*xi(3)^4 - 130*xi(3)^3 - 78*xi(3)^2 + 5*xi(3) + 3)*(625*xi(2)^5 - 625*xi(2)^4 - 250*xi(2)^3 + 250*xi(2)^2 + 9*xi(2) - 9)*(78125*xi(1)^5 + 15625*xi(1)^4 - 106250*xi(1)^3 - 21250*xi(1)^2 + 28125*xi(1) + 5625))/226492416;
      case 101
        vBase = -((625*xi(1)^5 + 625*xi(1)^4 - 250*xi(1)^3 - 250*xi(1)^2 + 9*xi(1) + 9)*(125*xi(3)^5 + 75*xi(3)^4 - 130*xi(3)^3 - 78*xi(3)^2 + 5*xi(3) + 3)*(78125*xi(2)^5 + 15625*xi(2)^4 - 106250*xi(2)^3 - 21250*xi(2)^2 + 28125*xi(2) + 5625))/226492416;
      case 102
        vBase = ((125*xi(3)^5 + 75*xi(3)^4 - 130*xi(3)^3 - 78*xi(3)^2 + 5*xi(3) + 3)*(625*xi(2)^5 + 625*xi(2)^4 - 250*xi(2)^3 - 250*xi(2)^2 + 9*xi(2) + 9)*(78125*xi(1)^5 - 15625*xi(1)^4 - 106250*xi(1)^3 + 21250*xi(1)^2 + 28125*xi(1) - 5625))/226492416;
      case 103
        vBase = -((625*xi(1)^5 - 625*xi(1)^4 - 250*xi(1)^3 + 250*xi(1)^2 + 9*xi(1) - 9)*(125*xi(3)^5 + 75*xi(3)^4 - 130*xi(3)^3 - 78*xi(3)^2 + 5*xi(3) + 3)*(78125*xi(2)^5 - 15625*xi(2)^4 - 106250*xi(2)^3 + 21250*xi(2)^2 + 28125*xi(2) - 5625))/226492416;
      case 104
        vBase = -((125*xi(2)^5 + 75*xi(2)^4 - 130*xi(2)^3 - 78*xi(2)^2 + 5*xi(2) + 3)*(625*xi(3)^5 + 625*xi(3)^4 - 250*xi(3)^3 - 250*xi(3)^2 + 9*xi(3) + 9)*(78125*xi(1)^5 + 15625*xi(1)^4 - 106250*xi(1)^3 - 21250*xi(1)^2 + 28125*xi(1) + 5625))/226492416;
      case 105
        vBase = -((125*xi(2)^5 + 75*xi(2)^4 - 130*xi(2)^3 - 78*xi(2)^2 + 5*xi(2) + 3)*(625*xi(3)^5 - 625*xi(3)^4 - 250*xi(3)^3 + 250*xi(3)^2 + 9*xi(3) - 9)*(78125*xi(1)^5 - 15625*xi(1)^4 - 106250*xi(1)^3 + 21250*xi(1)^2 + 28125*xi(1) - 5625))/226492416;
      case 106
        vBase = -((125*xi(3)^5 + 75*xi(3)^4 - 130*xi(3)^3 - 78*xi(3)^2 + 5*xi(3) + 3)*(625*xi(2)^5 - 625*xi(2)^4 - 250*xi(2)^3 + 250*xi(2)^2 + 9*xi(2) - 9)*(78125*xi(1)^5 - 15625*xi(1)^4 - 106250*xi(1)^3 + 21250*xi(1)^2 + 28125*xi(1) - 5625))/226492416;
      case 107
        vBase = ((625*xi(1)^5 + 625*xi(1)^4 - 250*xi(1)^3 - 250*xi(1)^2 + 9*xi(1) + 9)*(125*xi(3)^5 + 75*xi(3)^4 - 130*xi(3)^3 - 78*xi(3)^2 + 5*xi(3) + 3)*(78125*xi(2)^5 - 15625*xi(2)^4 - 106250*xi(2)^3 + 21250*xi(2)^2 + 28125*xi(2) - 5625))/226492416;
      case 108
        vBase = -((125*xi(3)^5 + 75*xi(3)^4 - 130*xi(3)^3 - 78*xi(3)^2 + 5*xi(3) + 3)*(625*xi(2)^5 + 625*xi(2)^4 - 250*xi(2)^3 - 250*xi(2)^2 + 9*xi(2) + 9)*(78125*xi(1)^5 + 15625*xi(1)^4 - 106250*xi(1)^3 - 21250*xi(1)^2 + 28125*xi(1) + 5625))/226492416;
      case 109
        vBase = ((625*xi(1)^5 - 625*xi(1)^4 - 250*xi(1)^3 + 250*xi(1)^2 + 9*xi(1) - 9)*(125*xi(3)^5 + 75*xi(3)^4 - 130*xi(3)^3 - 78*xi(3)^2 + 5*xi(3) + 3)*(78125*xi(2)^5 + 15625*xi(2)^4 - 106250*xi(2)^3 - 21250*xi(2)^2 + 28125*xi(2) + 5625))/226492416;
      case 110
        vBase = ((125*xi(2)^5 + 75*xi(2)^4 - 130*xi(2)^3 - 78*xi(2)^2 + 5*xi(2) + 3)*(625*xi(3)^5 + 625*xi(3)^4 - 250*xi(3)^3 - 250*xi(3)^2 + 9*xi(3) + 9)*(78125*xi(1)^5 - 15625*xi(1)^4 - 106250*xi(1)^3 + 21250*xi(1)^2 + 28125*xi(1) - 5625))/226492416;
      case 111
        vBase = ((125*xi(2)^5 + 75*xi(2)^4 - 130*xi(2)^3 - 78*xi(2)^2 + 5*xi(2) + 3)*(625*xi(3)^5 - 625*xi(3)^4 - 250*xi(3)^3 + 250*xi(3)^2 + 9*xi(3) - 9)*(78125*xi(1)^5 - 46875*xi(1)^4 - 81250*xi(1)^3 + 48750*xi(1)^2 + 3125*xi(1) - 1875))/452984832;
      case 112
        vBase = ((125*xi(3)^5 + 75*xi(3)^4 - 130*xi(3)^3 - 78*xi(3)^2 + 5*xi(3) + 3)*(625*xi(2)^5 - 625*xi(2)^4 - 250*xi(2)^3 + 250*xi(2)^2 + 9*xi(2) - 9)*(78125*xi(1)^5 - 46875*xi(1)^4 - 81250*xi(1)^3 + 48750*xi(1)^2 + 3125*xi(1) - 1875))/452984832;
      case 113
        vBase = -((625*xi(1)^5 + 625*xi(1)^4 - 250*xi(1)^3 - 250*xi(1)^2 + 9*xi(1) + 9)*(125*xi(3)^5 + 75*xi(3)^4 - 130*xi(3)^3 - 78*xi(3)^2 + 5*xi(3) + 3)*(78125*xi(2)^5 - 46875*xi(2)^4 - 81250*xi(2)^3 + 48750*xi(2)^2 + 3125*xi(2) - 1875))/452984832;
      case 114
        vBase = ((125*xi(3)^5 + 75*xi(3)^4 - 130*xi(3)^3 - 78*xi(3)^2 + 5*xi(3) + 3)*(625*xi(2)^5 + 625*xi(2)^4 - 250*xi(2)^3 - 250*xi(2)^2 + 9*xi(2) + 9)*(78125*xi(1)^5 + 46875*xi(1)^4 - 81250*xi(1)^3 - 48750*xi(1)^2 + 3125*xi(1) + 1875))/452984832;
      case 115
        vBase = -((625*xi(1)^5 - 625*xi(1)^4 - 250*xi(1)^3 + 250*xi(1)^2 + 9*xi(1) - 9)*(125*xi(3)^5 + 75*xi(3)^4 - 130*xi(3)^3 - 78*xi(3)^2 + 5*xi(3) + 3)*(78125*xi(2)^5 + 46875*xi(2)^4 - 81250*xi(2)^3 - 48750*xi(2)^2 + 3125*xi(2) + 1875))/452984832;
      case 116
        vBase = -((125*xi(2)^5 + 75*xi(2)^4 - 130*xi(2)^3 - 78*xi(2)^2 + 5*xi(2) + 3)*(625*xi(3)^5 + 625*xi(3)^4 - 250*xi(3)^3 - 250*xi(3)^2 + 9*xi(3) + 9)*(78125*xi(1)^5 - 46875*xi(1)^4 - 81250*xi(1)^3 + 48750*xi(1)^2 + 3125*xi(1) - 1875))/452984832;
      case 117
        vBase = -((125*xi(1)^5 - 75*xi(1)^4 - 130*xi(1)^3 + 78*xi(1)^2 + 5*xi(1) - 3)*(625*xi(3)^5 - 625*xi(3)^4 - 250*xi(3)^3 + 250*xi(3)^2 + 9*xi(3) - 9)*(78125*xi(2)^5 + 15625*xi(2)^4 - 106250*xi(2)^3 - 21250*xi(2)^2 + 28125*xi(2) + 5625))/226492416;
      case 118
        vBase = -((125*xi(3)^5 + 25*xi(3)^4 - 170*xi(3)^3 - 34*xi(3)^2 + 45*xi(3) + 9)*(625*xi(2)^5 - 625*xi(2)^4 - 250*xi(2)^3 + 250*xi(2)^2 + 9*xi(2) - 9)*(78125*xi(1)^5 - 46875*xi(1)^4 - 81250*xi(1)^3 + 48750*xi(1)^2 + 3125*xi(1) - 1875))/226492416;
      case 119
        vBase = ((125*xi(2)^5 - 75*xi(2)^4 - 130*xi(2)^3 + 78*xi(2)^2 + 5*xi(2) - 3)*(625*xi(1)^5 + 625*xi(1)^4 - 250*xi(1)^3 - 250*xi(1)^2 + 9*xi(1) + 9)*(78125*xi(3)^5 + 15625*xi(3)^4 - 106250*xi(3)^3 - 21250*xi(3)^2 + 28125*xi(3) + 5625))/226492416;
      case 120
        vBase = -((125*xi(3)^5 + 25*xi(3)^4 - 170*xi(3)^3 - 34*xi(3)^2 + 45*xi(3) + 9)*(625*xi(2)^5 + 625*xi(2)^4 - 250*xi(2)^3 - 250*xi(2)^2 + 9*xi(2) + 9)*(78125*xi(1)^5 + 46875*xi(1)^4 - 81250*xi(1)^3 - 48750*xi(1)^2 + 3125*xi(1) + 1875))/226492416;
      case 121
        vBase = ((125*xi(2)^5 + 75*xi(2)^4 - 130*xi(2)^3 - 78*xi(2)^2 + 5*xi(2) + 3)*(625*xi(1)^5 - 625*xi(1)^4 - 250*xi(1)^3 + 250*xi(1)^2 + 9*xi(1) - 9)*(78125*xi(3)^5 + 15625*xi(3)^4 - 106250*xi(3)^3 - 21250*xi(3)^2 + 28125*xi(3) + 5625))/226492416;
      case 122
        vBase = ((125*xi(1)^5 - 75*xi(1)^4 - 130*xi(1)^3 + 78*xi(1)^2 + 5*xi(1) - 3)*(625*xi(3)^5 + 625*xi(3)^4 - 250*xi(3)^3 - 250*xi(3)^2 + 9*xi(3) + 9)*(78125*xi(2)^5 + 15625*xi(2)^4 - 106250*xi(2)^3 - 21250*xi(2)^2 + 28125*xi(2) + 5625))/226492416;
      case 123
        vBase = ((125*xi(1)^5 - 75*xi(1)^4 - 130*xi(1)^3 + 78*xi(1)^2 + 5*xi(1) - 3)*(625*xi(3)^5 - 625*xi(3)^4 - 250*xi(3)^3 + 250*xi(3)^2 + 9*xi(3) - 9)*(78125*xi(2)^5 - 15625*xi(2)^4 - 106250*xi(2)^3 + 21250*xi(2)^2 + 28125*xi(2) - 5625))/226492416;
      case 124
        vBase = ((125*xi(3)^5 - 25*xi(3)^4 - 170*xi(3)^3 + 34*xi(3)^2 + 45*xi(3) - 9)*(625*xi(2)^5 - 625*xi(2)^4 - 250*xi(2)^3 + 250*xi(2)^2 + 9*xi(2) - 9)*(78125*xi(1)^5 - 46875*xi(1)^4 - 81250*xi(1)^3 + 48750*xi(1)^2 + 3125*xi(1) - 1875))/226492416;
      case 125
        vBase = -((125*xi(2)^5 - 75*xi(2)^4 - 130*xi(2)^3 + 78*xi(2)^2 + 5*xi(2) - 3)*(625*xi(1)^5 + 625*xi(1)^4 - 250*xi(1)^3 - 250*xi(1)^2 + 9*xi(1) + 9)*(78125*xi(3)^5 - 15625*xi(3)^4 - 106250*xi(3)^3 + 21250*xi(3)^2 + 28125*xi(3) - 5625))/226492416;
      case 126
        vBase = ((125*xi(3)^5 - 25*xi(3)^4 - 170*xi(3)^3 + 34*xi(3)^2 + 45*xi(3) - 9)*(625*xi(2)^5 + 625*xi(2)^4 - 250*xi(2)^3 - 250*xi(2)^2 + 9*xi(2) + 9)*(78125*xi(1)^5 + 46875*xi(1)^4 - 81250*xi(1)^3 - 48750*xi(1)^2 + 3125*xi(1) + 1875))/226492416;
      case 127
        vBase = -((125*xi(2)^5 + 75*xi(2)^4 - 130*xi(2)^3 - 78*xi(2)^2 + 5*xi(2) + 3)*(625*xi(1)^5 - 625*xi(1)^4 - 250*xi(1)^3 + 250*xi(1)^2 + 9*xi(1) - 9)*(78125*xi(3)^5 - 15625*xi(3)^4 - 106250*xi(3)^3 + 21250*xi(3)^2 + 28125*xi(3) - 5625))/226492416;
      case 128
        vBase = -((125*xi(1)^5 - 75*xi(1)^4 - 130*xi(1)^3 + 78*xi(1)^2 + 5*xi(1) - 3)*(625*xi(3)^5 + 625*xi(3)^4 - 250*xi(3)^3 - 250*xi(3)^2 + 9*xi(3) + 9)*(78125*xi(2)^5 - 15625*xi(2)^4 - 106250*xi(2)^3 + 21250*xi(2)^2 + 28125*xi(2) - 5625))/226492416;
      case 129
        vBase = -((125*xi(2)^5 - 25*xi(2)^4 - 170*xi(2)^3 + 34*xi(2)^2 + 45*xi(2) - 9)*(625*xi(3)^5 - 625*xi(3)^4 - 250*xi(3)^3 + 250*xi(3)^2 + 9*xi(3) - 9)*(78125*xi(1)^5 - 15625*xi(1)^4 - 106250*xi(1)^3 + 21250*xi(1)^2 + 28125*xi(1) - 5625))/113246208;
      case 130
        vBase = -((125*xi(3)^5 - 25*xi(3)^4 - 170*xi(3)^3 + 34*xi(3)^2 + 45*xi(3) - 9)*(625*xi(2)^5 - 625*xi(2)^4 - 250*xi(2)^3 + 250*xi(2)^2 + 9*xi(2) - 9)*(78125*xi(1)^5 - 15625*xi(1)^4 - 106250*xi(1)^3 + 21250*xi(1)^2 + 28125*xi(1) - 5625))/113246208;
      case 131
        vBase = ((625*xi(1)^5 + 625*xi(1)^4 - 250*xi(1)^3 - 250*xi(1)^2 + 9*xi(1) + 9)*(125*xi(3)^5 - 25*xi(3)^4 - 170*xi(3)^3 + 34*xi(3)^2 + 45*xi(3) - 9)*(78125*xi(2)^5 - 15625*xi(2)^4 - 106250*xi(2)^3 + 21250*xi(2)^2 + 28125*xi(2) - 5625))/113246208;
      case 132
        vBase = -((125*xi(3)^5 - 25*xi(3)^4 - 170*xi(3)^3 + 34*xi(3)^2 + 45*xi(3) - 9)*(625*xi(2)^5 + 625*xi(2)^4 - 250*xi(2)^3 - 250*xi(2)^2 + 9*xi(2) + 9)*(78125*xi(1)^5 + 15625*xi(1)^4 - 106250*xi(1)^3 - 21250*xi(1)^2 + 28125*xi(1) + 5625))/113246208;
      case 133
        vBase = ((625*xi(1)^5 - 625*xi(1)^4 - 250*xi(1)^3 + 250*xi(1)^2 + 9*xi(1) - 9)*(125*xi(3)^5 - 25*xi(3)^4 - 170*xi(3)^3 + 34*xi(3)^2 + 45*xi(3) - 9)*(78125*xi(2)^5 + 15625*xi(2)^4 - 106250*xi(2)^3 - 21250*xi(2)^2 + 28125*xi(2) + 5625))/113246208;
      case 134
        vBase = ((125*xi(2)^5 - 25*xi(2)^4 - 170*xi(2)^3 + 34*xi(2)^2 + 45*xi(2) - 9)*(625*xi(3)^5 + 625*xi(3)^4 - 250*xi(3)^3 - 250*xi(3)^2 + 9*xi(3) + 9)*(78125*xi(1)^5 - 15625*xi(1)^4 - 106250*xi(1)^3 + 21250*xi(1)^2 + 28125*xi(1) - 5625))/113246208;
      case 135
        vBase = ((125*xi(2)^5 - 25*xi(2)^4 - 170*xi(2)^3 + 34*xi(2)^2 + 45*xi(2) - 9)*(625*xi(3)^5 - 625*xi(3)^4 - 250*xi(3)^3 + 250*xi(3)^2 + 9*xi(3) - 9)*(78125*xi(1)^5 + 15625*xi(1)^4 - 106250*xi(1)^3 - 21250*xi(1)^2 + 28125*xi(1) + 5625))/113246208;
      case 136
        vBase = ((125*xi(3)^5 - 25*xi(3)^4 - 170*xi(3)^3 + 34*xi(3)^2 + 45*xi(3) - 9)*(625*xi(2)^5 - 625*xi(2)^4 - 250*xi(2)^3 + 250*xi(2)^2 + 9*xi(2) - 9)*(78125*xi(1)^5 + 15625*xi(1)^4 - 106250*xi(1)^3 - 21250*xi(1)^2 + 28125*xi(1) + 5625))/113246208;
      case 137
        vBase = -((625*xi(1)^5 + 625*xi(1)^4 - 250*xi(1)^3 - 250*xi(1)^2 + 9*xi(1) + 9)*(125*xi(3)^5 - 25*xi(3)^4 - 170*xi(3)^3 + 34*xi(3)^2 + 45*xi(3) - 9)*(78125*xi(2)^5 + 15625*xi(2)^4 - 106250*xi(2)^3 - 21250*xi(2)^2 + 28125*xi(2) + 5625))/113246208;
      case 138
        vBase = ((125*xi(3)^5 - 25*xi(3)^4 - 170*xi(3)^3 + 34*xi(3)^2 + 45*xi(3) - 9)*(625*xi(2)^5 + 625*xi(2)^4 - 250*xi(2)^3 - 250*xi(2)^2 + 9*xi(2) + 9)*(78125*xi(1)^5 - 15625*xi(1)^4 - 106250*xi(1)^3 + 21250*xi(1)^2 + 28125*xi(1) - 5625))/113246208;
      case 139
        vBase = -((625*xi(1)^5 - 625*xi(1)^4 - 250*xi(1)^3 + 250*xi(1)^2 + 9*xi(1) - 9)*(125*xi(3)^5 - 25*xi(3)^4 - 170*xi(3)^3 + 34*xi(3)^2 + 45*xi(3) - 9)*(78125*xi(2)^5 - 15625*xi(2)^4 - 106250*xi(2)^3 + 21250*xi(2)^2 + 28125*xi(2) - 5625))/113246208;
      case 140
        vBase = -((125*xi(2)^5 - 25*xi(2)^4 - 170*xi(2)^3 + 34*xi(2)^2 + 45*xi(2) - 9)*(625*xi(3)^5 + 625*xi(3)^4 - 250*xi(3)^3 - 250*xi(3)^2 + 9*xi(3) + 9)*(78125*xi(1)^5 + 15625*xi(1)^4 - 106250*xi(1)^3 - 21250*xi(1)^2 + 28125*xi(1) + 5625))/113246208;
      case 141
        vBase = -((125*xi(2)^5 + 25*xi(2)^4 - 170*xi(2)^3 - 34*xi(2)^2 + 45*xi(2) + 9)*(625*xi(3)^5 - 625*xi(3)^4 - 250*xi(3)^3 + 250*xi(3)^2 + 9*xi(3) - 9)*(78125*xi(1)^5 + 15625*xi(1)^4 - 106250*xi(1)^3 - 21250*xi(1)^2 + 28125*xi(1) + 5625))/113246208;
      case 142
        vBase = -((125*xi(3)^5 + 25*xi(3)^4 - 170*xi(3)^3 - 34*xi(3)^2 + 45*xi(3) + 9)*(625*xi(2)^5 - 625*xi(2)^4 - 250*xi(2)^3 + 250*xi(2)^2 + 9*xi(2) - 9)*(78125*xi(1)^5 + 15625*xi(1)^4 - 106250*xi(1)^3 - 21250*xi(1)^2 + 28125*xi(1) + 5625))/113246208;
      case 143
        vBase = ((625*xi(1)^5 + 625*xi(1)^4 - 250*xi(1)^3 - 250*xi(1)^2 + 9*xi(1) + 9)*(125*xi(3)^5 + 25*xi(3)^4 - 170*xi(3)^3 - 34*xi(3)^2 + 45*xi(3) + 9)*(78125*xi(2)^5 + 15625*xi(2)^4 - 106250*xi(2)^3 - 21250*xi(2)^2 + 28125*xi(2) + 5625))/113246208;
      case 144
        vBase = -((125*xi(3)^5 + 25*xi(3)^4 - 170*xi(3)^3 - 34*xi(3)^2 + 45*xi(3) + 9)*(625*xi(2)^5 + 625*xi(2)^4 - 250*xi(2)^3 - 250*xi(2)^2 + 9*xi(2) + 9)*(78125*xi(1)^5 - 15625*xi(1)^4 - 106250*xi(1)^3 + 21250*xi(1)^2 + 28125*xi(1) - 5625))/113246208;
      case 145
        vBase = ((625*xi(1)^5 - 625*xi(1)^4 - 250*xi(1)^3 + 250*xi(1)^2 + 9*xi(1) - 9)*(125*xi(3)^5 + 25*xi(3)^4 - 170*xi(3)^3 - 34*xi(3)^2 + 45*xi(3) + 9)*(78125*xi(2)^5 - 15625*xi(2)^4 - 106250*xi(2)^3 + 21250*xi(2)^2 + 28125*xi(2) - 5625))/113246208;
      case 146
        vBase = ((125*xi(2)^5 + 25*xi(2)^4 - 170*xi(2)^3 - 34*xi(2)^2 + 45*xi(2) + 9)*(625*xi(3)^5 + 625*xi(3)^4 - 250*xi(3)^3 - 250*xi(3)^2 + 9*xi(3) + 9)*(78125*xi(1)^5 + 15625*xi(1)^4 - 106250*xi(1)^3 - 21250*xi(1)^2 + 28125*xi(1) + 5625))/113246208;
      case 147
        vBase = ((125*xi(2)^5 + 25*xi(2)^4 - 170*xi(2)^3 - 34*xi(2)^2 + 45*xi(2) + 9)*(625*xi(3)^5 - 625*xi(3)^4 - 250*xi(3)^3 + 250*xi(3)^2 + 9*xi(3) - 9)*(78125*xi(1)^5 - 15625*xi(1)^4 - 106250*xi(1)^3 + 21250*xi(1)^2 + 28125*xi(1) - 5625))/113246208;
      case 148
        vBase = ((125*xi(3)^5 + 25*xi(3)^4 - 170*xi(3)^3 - 34*xi(3)^2 + 45*xi(3) + 9)*(625*xi(2)^5 - 625*xi(2)^4 - 250*xi(2)^3 + 250*xi(2)^2 + 9*xi(2) - 9)*(78125*xi(1)^5 - 15625*xi(1)^4 - 106250*xi(1)^3 + 21250*xi(1)^2 + 28125*xi(1) - 5625))/113246208;
      case 149
        vBase = -((625*xi(1)^5 + 625*xi(1)^4 - 250*xi(1)^3 - 250*xi(1)^2 + 9*xi(1) + 9)*(125*xi(3)^5 + 25*xi(3)^4 - 170*xi(3)^3 - 34*xi(3)^2 + 45*xi(3) + 9)*(78125*xi(2)^5 - 15625*xi(2)^4 - 106250*xi(2)^3 + 21250*xi(2)^2 + 28125*xi(2) - 5625))/113246208;
      case 150
        vBase = ((125*xi(3)^5 + 25*xi(3)^4 - 170*xi(3)^3 - 34*xi(3)^2 + 45*xi(3) + 9)*(625*xi(2)^5 + 625*xi(2)^4 - 250*xi(2)^3 - 250*xi(2)^2 + 9*xi(2) + 9)*(78125*xi(1)^5 + 15625*xi(1)^4 - 106250*xi(1)^3 - 21250*xi(1)^2 + 28125*xi(1) + 5625))/113246208;
      case 151
        vBase = -((625*xi(1)^5 - 625*xi(1)^4 - 250*xi(1)^3 + 250*xi(1)^2 + 9*xi(1) - 9)*(125*xi(3)^5 + 25*xi(3)^4 - 170*xi(3)^3 - 34*xi(3)^2 + 45*xi(3) + 9)*(78125*xi(2)^5 + 15625*xi(2)^4 - 106250*xi(2)^3 - 21250*xi(2)^2 + 28125*xi(2) + 5625))/113246208;
      case 152
        vBase = -((125*xi(2)^5 + 25*xi(2)^4 - 170*xi(2)^3 - 34*xi(2)^2 + 45*xi(2) + 9)*(625*xi(3)^5 + 625*xi(3)^4 - 250*xi(3)^3 - 250*xi(3)^2 + 9*xi(3) + 9)*(78125*xi(1)^5 - 15625*xi(1)^4 - 106250*xi(1)^3 + 21250*xi(1)^2 + 28125*xi(1) - 5625))/113246208;
      case 153
        vBase = ((125*xi(2)^5 - 75*xi(2)^4 - 130*xi(2)^3 + 78*xi(2)^2 + 5*xi(2) - 3)*(125*xi(3)^5 - 75*xi(3)^4 - 130*xi(3)^3 + 78*xi(3)^2 + 5*xi(3) - 3)*(1953125*xi(1)^5 - 1171875*xi(1)^4 - 2031250*xi(1)^3 + 1218750*xi(1)^2 + 78125*xi(1) - 46875))/452984832;
      case 154
        vBase = -((125*xi(2)^5 - 75*xi(2)^4 - 130*xi(2)^3 + 78*xi(2)^2 + 5*xi(2) - 3)*(125*xi(3)^5 - 75*xi(3)^4 - 130*xi(3)^3 + 78*xi(3)^2 + 5*xi(3) - 3)*(1953125*xi(1)^5 - 390625*xi(1)^4 - 2656250*xi(1)^3 + 531250*xi(1)^2 + 703125*xi(1) - 140625))/226492416;
      case 155
        vBase = ((125*xi(2)^5 - 75*xi(2)^4 - 130*xi(2)^3 + 78*xi(2)^2 + 5*xi(2) - 3)*(125*xi(3)^5 - 75*xi(3)^4 - 130*xi(3)^3 + 78*xi(3)^2 + 5*xi(3) - 3)*(1953125*xi(1)^5 + 390625*xi(1)^4 - 2656250*xi(1)^3 - 531250*xi(1)^2 + 703125*xi(1) + 140625))/226492416;
      case 156
        vBase = -((125*xi(2)^5 - 75*xi(2)^4 - 130*xi(2)^3 + 78*xi(2)^2 + 5*xi(2) - 3)*(125*xi(3)^5 - 75*xi(3)^4 - 130*xi(3)^3 + 78*xi(3)^2 + 5*xi(3) - 3)*(1953125*xi(1)^5 + 1171875*xi(1)^4 - 2031250*xi(1)^3 - 1218750*xi(1)^2 + 78125*xi(1) + 46875))/452984832;
      case 157
        vBase = -((125*xi(1)^5 - 75*xi(1)^4 - 130*xi(1)^3 + 78*xi(1)^2 + 5*xi(1) - 3)*(125*xi(3)^5 - 75*xi(3)^4 - 130*xi(3)^3 + 78*xi(3)^2 + 5*xi(3) - 3)*(1953125*xi(2)^5 - 390625*xi(2)^4 - 2656250*xi(2)^3 + 531250*xi(2)^2 + 703125*xi(2) - 140625))/226492416;
      case 158
        vBase = ((125*xi(2)^5 - 25*xi(2)^4 - 170*xi(2)^3 + 34*xi(2)^2 + 45*xi(2) - 9)*(125*xi(3)^5 - 75*xi(3)^4 - 130*xi(3)^3 + 78*xi(3)^2 + 5*xi(3) - 3)*(1953125*xi(1)^5 - 390625*xi(1)^4 - 2656250*xi(1)^3 + 531250*xi(1)^2 + 703125*xi(1) - 140625))/113246208;
      case 159
        vBase = -((125*xi(2)^5 - 25*xi(2)^4 - 170*xi(2)^3 + 34*xi(2)^2 + 45*xi(2) - 9)*(125*xi(3)^5 - 75*xi(3)^4 - 130*xi(3)^3 + 78*xi(3)^2 + 5*xi(3) - 3)*(1953125*xi(1)^5 + 390625*xi(1)^4 - 2656250*xi(1)^3 - 531250*xi(1)^2 + 703125*xi(1) + 140625))/113246208;
      case 160
        vBase = ((125*xi(1)^5 + 75*xi(1)^4 - 130*xi(1)^3 - 78*xi(1)^2 + 5*xi(1) + 3)*(125*xi(3)^5 - 75*xi(3)^4 - 130*xi(3)^3 + 78*xi(3)^2 + 5*xi(3) - 3)*(1953125*xi(2)^5 - 390625*xi(2)^4 - 2656250*xi(2)^3 + 531250*xi(2)^2 + 703125*xi(2) - 140625))/226492416;
      case 161
        vBase = ((125*xi(1)^5 - 75*xi(1)^4 - 130*xi(1)^3 + 78*xi(1)^2 + 5*xi(1) - 3)*(125*xi(3)^5 - 75*xi(3)^4 - 130*xi(3)^3 + 78*xi(3)^2 + 5*xi(3) - 3)*(1953125*xi(2)^5 + 390625*xi(2)^4 - 2656250*xi(2)^3 - 531250*xi(2)^2 + 703125*xi(2) + 140625))/226492416;
      case 162
        vBase = -((125*xi(2)^5 + 25*xi(2)^4 - 170*xi(2)^3 - 34*xi(2)^2 + 45*xi(2) + 9)*(125*xi(3)^5 - 75*xi(3)^4 - 130*xi(3)^3 + 78*xi(3)^2 + 5*xi(3) - 3)*(1953125*xi(1)^5 - 390625*xi(1)^4 - 2656250*xi(1)^3 + 531250*xi(1)^2 + 703125*xi(1) - 140625))/113246208;
      case 163
        vBase = ((125*xi(2)^5 + 25*xi(2)^4 - 170*xi(2)^3 - 34*xi(2)^2 + 45*xi(2) + 9)*(125*xi(3)^5 - 75*xi(3)^4 - 130*xi(3)^3 + 78*xi(3)^2 + 5*xi(3) - 3)*(1953125*xi(1)^5 + 390625*xi(1)^4 - 2656250*xi(1)^3 - 531250*xi(1)^2 + 703125*xi(1) + 140625))/113246208;
      case 164
        vBase = -((125*xi(1)^5 + 75*xi(1)^4 - 130*xi(1)^3 - 78*xi(1)^2 + 5*xi(1) + 3)*(125*xi(3)^5 - 75*xi(3)^4 - 130*xi(3)^3 + 78*xi(3)^2 + 5*xi(3) - 3)*(1953125*xi(2)^5 + 390625*xi(2)^4 - 2656250*xi(2)^3 - 531250*xi(2)^2 + 703125*xi(2) + 140625))/226492416;
      case 165
        vBase = -((125*xi(2)^5 + 75*xi(2)^4 - 130*xi(2)^3 - 78*xi(2)^2 + 5*xi(2) + 3)*(125*xi(3)^5 - 75*xi(3)^4 - 130*xi(3)^3 + 78*xi(3)^2 + 5*xi(3) - 3)*(1953125*xi(1)^5 - 1171875*xi(1)^4 - 2031250*xi(1)^3 + 1218750*xi(1)^2 + 78125*xi(1) - 46875))/452984832;
      case 166
        vBase = ((125*xi(2)^5 + 75*xi(2)^4 - 130*xi(2)^3 - 78*xi(2)^2 + 5*xi(2) + 3)*(125*xi(3)^5 - 75*xi(3)^4 - 130*xi(3)^3 + 78*xi(3)^2 + 5*xi(3) - 3)*(1953125*xi(1)^5 - 390625*xi(1)^4 - 2656250*xi(1)^3 + 531250*xi(1)^2 + 703125*xi(1) - 140625))/226492416;
      case 167
        vBase = -((125*xi(2)^5 + 75*xi(2)^4 - 130*xi(2)^3 - 78*xi(2)^2 + 5*xi(2) + 3)*(125*xi(3)^5 - 75*xi(3)^4 - 130*xi(3)^3 + 78*xi(3)^2 + 5*xi(3) - 3)*(1953125*xi(1)^5 + 390625*xi(1)^4 - 2656250*xi(1)^3 - 531250*xi(1)^2 + 703125*xi(1) + 140625))/226492416;
      case 168
        vBase = ((125*xi(2)^5 + 75*xi(2)^4 - 130*xi(2)^3 - 78*xi(2)^2 + 5*xi(2) + 3)*(125*xi(3)^5 - 75*xi(3)^4 - 130*xi(3)^3 + 78*xi(3)^2 + 5*xi(3) - 3)*(1953125*xi(1)^5 + 1171875*xi(1)^4 - 2031250*xi(1)^3 - 1218750*xi(1)^2 + 78125*xi(1) + 46875))/452984832;
      case 169
        vBase = -((125*xi(2)^5 - 75*xi(2)^4 - 130*xi(2)^3 + 78*xi(2)^2 + 5*xi(2) - 3)*(125*xi(3)^5 - 25*xi(3)^4 - 170*xi(3)^3 + 34*xi(3)^2 + 45*xi(3) - 9)*(1953125*xi(1)^5 - 1171875*xi(1)^4 - 2031250*xi(1)^3 + 1218750*xi(1)^2 + 78125*xi(1) - 46875))/226492416;
      case 170
        vBase = ((125*xi(2)^5 - 75*xi(2)^4 - 130*xi(2)^3 + 78*xi(2)^2 + 5*xi(2) - 3)*(125*xi(3)^5 - 25*xi(3)^4 - 170*xi(3)^3 + 34*xi(3)^2 + 45*xi(3) - 9)*(1953125*xi(1)^5 - 390625*xi(1)^4 - 2656250*xi(1)^3 + 531250*xi(1)^2 + 703125*xi(1) - 140625))/113246208;
      case 171
        vBase = -((125*xi(2)^5 - 75*xi(2)^4 - 130*xi(2)^3 + 78*xi(2)^2 + 5*xi(2) - 3)*(125*xi(3)^5 - 25*xi(3)^4 - 170*xi(3)^3 + 34*xi(3)^2 + 45*xi(3) - 9)*(1953125*xi(1)^5 + 390625*xi(1)^4 - 2656250*xi(1)^3 - 531250*xi(1)^2 + 703125*xi(1) + 140625))/113246208;
      case 172
        vBase = ((125*xi(2)^5 - 75*xi(2)^4 - 130*xi(2)^3 + 78*xi(2)^2 + 5*xi(2) - 3)*(125*xi(3)^5 - 25*xi(3)^4 - 170*xi(3)^3 + 34*xi(3)^2 + 45*xi(3) - 9)*(1953125*xi(1)^5 + 1171875*xi(1)^4 - 2031250*xi(1)^3 - 1218750*xi(1)^2 + 78125*xi(1) + 46875))/226492416;
      case 173
        vBase = ((125*xi(1)^5 - 75*xi(1)^4 - 130*xi(1)^3 + 78*xi(1)^2 + 5*xi(1) - 3)*(125*xi(3)^5 - 25*xi(3)^4 - 170*xi(3)^3 + 34*xi(3)^2 + 45*xi(3) - 9)*(1953125*xi(2)^5 - 390625*xi(2)^4 - 2656250*xi(2)^3 + 531250*xi(2)^2 + 703125*xi(2) - 140625))/113246208;
      case 174
        vBase = -((125*xi(2)^5 - 25*xi(2)^4 - 170*xi(2)^3 + 34*xi(2)^2 + 45*xi(2) - 9)*(125*xi(3)^5 - 25*xi(3)^4 - 170*xi(3)^3 + 34*xi(3)^2 + 45*xi(3) - 9)*(1953125*xi(1)^5 - 390625*xi(1)^4 - 2656250*xi(1)^3 + 531250*xi(1)^2 + 703125*xi(1) - 140625))/56623104;
      case 175
        vBase = ((125*xi(2)^5 - 25*xi(2)^4 - 170*xi(2)^3 + 34*xi(2)^2 + 45*xi(2) - 9)*(125*xi(3)^5 - 25*xi(3)^4 - 170*xi(3)^3 + 34*xi(3)^2 + 45*xi(3) - 9)*(1953125*xi(1)^5 + 390625*xi(1)^4 - 2656250*xi(1)^3 - 531250*xi(1)^2 + 703125*xi(1) + 140625))/56623104;
      case 176
        vBase = -((125*xi(1)^5 + 75*xi(1)^4 - 130*xi(1)^3 - 78*xi(1)^2 + 5*xi(1) + 3)*(125*xi(3)^5 - 25*xi(3)^4 - 170*xi(3)^3 + 34*xi(3)^2 + 45*xi(3) - 9)*(1953125*xi(2)^5 - 390625*xi(2)^4 - 2656250*xi(2)^3 + 531250*xi(2)^2 + 703125*xi(2) - 140625))/113246208;
      case 177
        vBase = -((125*xi(1)^5 - 75*xi(1)^4 - 130*xi(1)^3 + 78*xi(1)^2 + 5*xi(1) - 3)*(125*xi(3)^5 - 25*xi(3)^4 - 170*xi(3)^3 + 34*xi(3)^2 + 45*xi(3) - 9)*(1953125*xi(2)^5 + 390625*xi(2)^4 - 2656250*xi(2)^3 - 531250*xi(2)^2 + 703125*xi(2) + 140625))/113246208;
      case 178
        vBase = ((125*xi(2)^5 + 25*xi(2)^4 - 170*xi(2)^3 - 34*xi(2)^2 + 45*xi(2) + 9)*(125*xi(3)^5 - 25*xi(3)^4 - 170*xi(3)^3 + 34*xi(3)^2 + 45*xi(3) - 9)*(1953125*xi(1)^5 - 390625*xi(1)^4 - 2656250*xi(1)^3 + 531250*xi(1)^2 + 703125*xi(1) - 140625))/56623104;
      case 179
        vBase = -((125*xi(2)^5 + 25*xi(2)^4 - 170*xi(2)^3 - 34*xi(2)^2 + 45*xi(2) + 9)*(125*xi(3)^5 - 25*xi(3)^4 - 170*xi(3)^3 + 34*xi(3)^2 + 45*xi(3) - 9)*(1953125*xi(1)^5 + 390625*xi(1)^4 - 2656250*xi(1)^3 - 531250*xi(1)^2 + 703125*xi(1) + 140625))/56623104;
      case 180
        vBase = ((125*xi(1)^5 + 75*xi(1)^4 - 130*xi(1)^3 - 78*xi(1)^2 + 5*xi(1) + 3)*(125*xi(3)^5 - 25*xi(3)^4 - 170*xi(3)^3 + 34*xi(3)^2 + 45*xi(3) - 9)*(1953125*xi(2)^5 + 390625*xi(2)^4 - 2656250*xi(2)^3 - 531250*xi(2)^2 + 703125*xi(2) + 140625))/113246208;
      case 181
        vBase = ((125*xi(2)^5 + 75*xi(2)^4 - 130*xi(2)^3 - 78*xi(2)^2 + 5*xi(2) + 3)*(125*xi(3)^5 - 25*xi(3)^4 - 170*xi(3)^3 + 34*xi(3)^2 + 45*xi(3) - 9)*(1953125*xi(1)^5 - 1171875*xi(1)^4 - 2031250*xi(1)^3 + 1218750*xi(1)^2 + 78125*xi(1) - 46875))/226492416;
      case 182
        vBase = -((125*xi(2)^5 + 75*xi(2)^4 - 130*xi(2)^3 - 78*xi(2)^2 + 5*xi(2) + 3)*(125*xi(3)^5 - 25*xi(3)^4 - 170*xi(3)^3 + 34*xi(3)^2 + 45*xi(3) - 9)*(1953125*xi(1)^5 - 390625*xi(1)^4 - 2656250*xi(1)^3 + 531250*xi(1)^2 + 703125*xi(1) - 140625))/113246208;
      case 183
        vBase = ((125*xi(2)^5 + 75*xi(2)^4 - 130*xi(2)^3 - 78*xi(2)^2 + 5*xi(2) + 3)*(125*xi(3)^5 - 25*xi(3)^4 - 170*xi(3)^3 + 34*xi(3)^2 + 45*xi(3) - 9)*(1953125*xi(1)^5 + 390625*xi(1)^4 - 2656250*xi(1)^3 - 531250*xi(1)^2 + 703125*xi(1) + 140625))/113246208;
      case 184
        vBase = -((125*xi(2)^5 + 75*xi(2)^4 - 130*xi(2)^3 - 78*xi(2)^2 + 5*xi(2) + 3)*(125*xi(3)^5 - 25*xi(3)^4 - 170*xi(3)^3 + 34*xi(3)^2 + 45*xi(3) - 9)*(1953125*xi(1)^5 + 1171875*xi(1)^4 - 2031250*xi(1)^3 - 1218750*xi(1)^2 + 78125*xi(1) + 46875))/226492416;
      case 185
        vBase = ((125*xi(2)^5 - 75*xi(2)^4 - 130*xi(2)^3 + 78*xi(2)^2 + 5*xi(2) - 3)*(125*xi(3)^5 + 25*xi(3)^4 - 170*xi(3)^3 - 34*xi(3)^2 + 45*xi(3) + 9)*(1953125*xi(1)^5 - 1171875*xi(1)^4 - 2031250*xi(1)^3 + 1218750*xi(1)^2 + 78125*xi(1) - 46875))/226492416;
      case 186
        vBase = -((125*xi(2)^5 - 75*xi(2)^4 - 130*xi(2)^3 + 78*xi(2)^2 + 5*xi(2) - 3)*(125*xi(3)^5 + 25*xi(3)^4 - 170*xi(3)^3 - 34*xi(3)^2 + 45*xi(3) + 9)*(1953125*xi(1)^5 - 390625*xi(1)^4 - 2656250*xi(1)^3 + 531250*xi(1)^2 + 703125*xi(1) - 140625))/113246208;
      case 187
        vBase = ((125*xi(2)^5 - 75*xi(2)^4 - 130*xi(2)^3 + 78*xi(2)^2 + 5*xi(2) - 3)*(125*xi(3)^5 + 25*xi(3)^4 - 170*xi(3)^3 - 34*xi(3)^2 + 45*xi(3) + 9)*(1953125*xi(1)^5 + 390625*xi(1)^4 - 2656250*xi(1)^3 - 531250*xi(1)^2 + 703125*xi(1) + 140625))/113246208;
      case 188
        vBase = -((125*xi(2)^5 - 75*xi(2)^4 - 130*xi(2)^3 + 78*xi(2)^2 + 5*xi(2) - 3)*(125*xi(3)^5 + 25*xi(3)^4 - 170*xi(3)^3 - 34*xi(3)^2 + 45*xi(3) + 9)*(1953125*xi(1)^5 + 1171875*xi(1)^4 - 2031250*xi(1)^3 - 1218750*xi(1)^2 + 78125*xi(1) + 46875))/226492416;
      case 189
        vBase = -((125*xi(1)^5 - 75*xi(1)^4 - 130*xi(1)^3 + 78*xi(1)^2 + 5*xi(1) - 3)*(125*xi(3)^5 + 25*xi(3)^4 - 170*xi(3)^3 - 34*xi(3)^2 + 45*xi(3) + 9)*(1953125*xi(2)^5 - 390625*xi(2)^4 - 2656250*xi(2)^3 + 531250*xi(2)^2 + 703125*xi(2) - 140625))/113246208;
      case 190
        vBase = ((125*xi(2)^5 - 25*xi(2)^4 - 170*xi(2)^3 + 34*xi(2)^2 + 45*xi(2) - 9)*(125*xi(3)^5 + 25*xi(3)^4 - 170*xi(3)^3 - 34*xi(3)^2 + 45*xi(3) + 9)*(1953125*xi(1)^5 - 390625*xi(1)^4 - 2656250*xi(1)^3 + 531250*xi(1)^2 + 703125*xi(1) - 140625))/56623104;
      case 191
        vBase = -((125*xi(2)^5 - 25*xi(2)^4 - 170*xi(2)^3 + 34*xi(2)^2 + 45*xi(2) - 9)*(125*xi(3)^5 + 25*xi(3)^4 - 170*xi(3)^3 - 34*xi(3)^2 + 45*xi(3) + 9)*(1953125*xi(1)^5 + 390625*xi(1)^4 - 2656250*xi(1)^3 - 531250*xi(1)^2 + 703125*xi(1) + 140625))/56623104;
      case 192
        vBase = ((125*xi(1)^5 + 75*xi(1)^4 - 130*xi(1)^3 - 78*xi(1)^2 + 5*xi(1) + 3)*(125*xi(3)^5 + 25*xi(3)^4 - 170*xi(3)^3 - 34*xi(3)^2 + 45*xi(3) + 9)*(1953125*xi(2)^5 - 390625*xi(2)^4 - 2656250*xi(2)^3 + 531250*xi(2)^2 + 703125*xi(2) - 140625))/113246208;
      case 193
        vBase = ((125*xi(1)^5 - 75*xi(1)^4 - 130*xi(1)^3 + 78*xi(1)^2 + 5*xi(1) - 3)*(125*xi(3)^5 + 25*xi(3)^4 - 170*xi(3)^3 - 34*xi(3)^2 + 45*xi(3) + 9)*(1953125*xi(2)^5 + 390625*xi(2)^4 - 2656250*xi(2)^3 - 531250*xi(2)^2 + 703125*xi(2) + 140625))/113246208;
      case 194
        vBase = -((125*xi(2)^5 + 25*xi(2)^4 - 170*xi(2)^3 - 34*xi(2)^2 + 45*xi(2) + 9)*(125*xi(3)^5 + 25*xi(3)^4 - 170*xi(3)^3 - 34*xi(3)^2 + 45*xi(3) + 9)*(1953125*xi(1)^5 - 390625*xi(1)^4 - 2656250*xi(1)^3 + 531250*xi(1)^2 + 703125*xi(1) - 140625))/56623104;
      case 195
        vBase = ((125*xi(2)^5 + 25*xi(2)^4 - 170*xi(2)^3 - 34*xi(2)^2 + 45*xi(2) + 9)*(125*xi(3)^5 + 25*xi(3)^4 - 170*xi(3)^3 - 34*xi(3)^2 + 45*xi(3) + 9)*(1953125*xi(1)^5 + 390625*xi(1)^4 - 2656250*xi(1)^3 - 531250*xi(1)^2 + 703125*xi(1) + 140625))/56623104;
      case 196
        vBase = -((125*xi(1)^5 + 75*xi(1)^4 - 130*xi(1)^3 - 78*xi(1)^2 + 5*xi(1) + 3)*(125*xi(3)^5 + 25*xi(3)^4 - 170*xi(3)^3 - 34*xi(3)^2 + 45*xi(3) + 9)*(1953125*xi(2)^5 + 390625*xi(2)^4 - 2656250*xi(2)^3 - 531250*xi(2)^2 + 703125*xi(2) + 140625))/113246208;
      case 197
        vBase = -((125*xi(2)^5 + 75*xi(2)^4 - 130*xi(2)^3 - 78*xi(2)^2 + 5*xi(2) + 3)*(125*xi(3)^5 + 25*xi(3)^4 - 170*xi(3)^3 - 34*xi(3)^2 + 45*xi(3) + 9)*(1953125*xi(1)^5 - 1171875*xi(1)^4 - 2031250*xi(1)^3 + 1218750*xi(1)^2 + 78125*xi(1) - 46875))/226492416;
      case 198
        vBase = ((125*xi(2)^5 + 75*xi(2)^4 - 130*xi(2)^3 - 78*xi(2)^2 + 5*xi(2) + 3)*(125*xi(3)^5 + 25*xi(3)^4 - 170*xi(3)^3 - 34*xi(3)^2 + 45*xi(3) + 9)*(1953125*xi(1)^5 - 390625*xi(1)^4 - 2656250*xi(1)^3 + 531250*xi(1)^2 + 703125*xi(1) - 140625))/113246208;
      case 199
        vBase = -((125*xi(2)^5 + 75*xi(2)^4 - 130*xi(2)^3 - 78*xi(2)^2 + 5*xi(2) + 3)*(125*xi(3)^5 + 25*xi(3)^4 - 170*xi(3)^3 - 34*xi(3)^2 + 45*xi(3) + 9)*(1953125*xi(1)^5 + 390625*xi(1)^4 - 2656250*xi(1)^3 - 531250*xi(1)^2 + 703125*xi(1) + 140625))/113246208;
      case 200
        vBase = ((125*xi(2)^5 + 75*xi(2)^4 - 130*xi(2)^3 - 78*xi(2)^2 + 5*xi(2) + 3)*(125*xi(3)^5 + 25*xi(3)^4 - 170*xi(3)^3 - 34*xi(3)^2 + 45*xi(3) + 9)*(1953125*xi(1)^5 + 1171875*xi(1)^4 - 2031250*xi(1)^3 - 1218750*xi(1)^2 + 78125*xi(1) + 46875))/226492416;
      case 201
        vBase = -((125*xi(2)^5 - 75*xi(2)^4 - 130*xi(2)^3 + 78*xi(2)^2 + 5*xi(2) - 3)*(125*xi(3)^5 + 75*xi(3)^4 - 130*xi(3)^3 - 78*xi(3)^2 + 5*xi(3) + 3)*(1953125*xi(1)^5 - 1171875*xi(1)^4 - 2031250*xi(1)^3 + 1218750*xi(1)^2 + 78125*xi(1) - 46875))/452984832;
      case 202
        vBase = ((125*xi(2)^5 - 75*xi(2)^4 - 130*xi(2)^3 + 78*xi(2)^2 + 5*xi(2) - 3)*(125*xi(3)^5 + 75*xi(3)^4 - 130*xi(3)^3 - 78*xi(3)^2 + 5*xi(3) + 3)*(1953125*xi(1)^5 - 390625*xi(1)^4 - 2656250*xi(1)^3 + 531250*xi(1)^2 + 703125*xi(1) - 140625))/226492416;
      case 203
        vBase = -((125*xi(2)^5 - 75*xi(2)^4 - 130*xi(2)^3 + 78*xi(2)^2 + 5*xi(2) - 3)*(125*xi(3)^5 + 75*xi(3)^4 - 130*xi(3)^3 - 78*xi(3)^2 + 5*xi(3) + 3)*(1953125*xi(1)^5 + 390625*xi(1)^4 - 2656250*xi(1)^3 - 531250*xi(1)^2 + 703125*xi(1) + 140625))/226492416;
      case 204
        vBase = ((125*xi(2)^5 - 75*xi(2)^4 - 130*xi(2)^3 + 78*xi(2)^2 + 5*xi(2) - 3)*(125*xi(3)^5 + 75*xi(3)^4 - 130*xi(3)^3 - 78*xi(3)^2 + 5*xi(3) + 3)*(1953125*xi(1)^5 + 1171875*xi(1)^4 - 2031250*xi(1)^3 - 1218750*xi(1)^2 + 78125*xi(1) + 46875))/452984832;
      case 205
        vBase = ((125*xi(1)^5 - 75*xi(1)^4 - 130*xi(1)^3 + 78*xi(1)^2 + 5*xi(1) - 3)*(125*xi(3)^5 + 75*xi(3)^4 - 130*xi(3)^3 - 78*xi(3)^2 + 5*xi(3) + 3)*(1953125*xi(2)^5 - 390625*xi(2)^4 - 2656250*xi(2)^3 + 531250*xi(2)^2 + 703125*xi(2) - 140625))/226492416;
      case 206
        vBase = -((125*xi(2)^5 - 25*xi(2)^4 - 170*xi(2)^3 + 34*xi(2)^2 + 45*xi(2) - 9)*(125*xi(3)^5 + 75*xi(3)^4 - 130*xi(3)^3 - 78*xi(3)^2 + 5*xi(3) + 3)*(1953125*xi(1)^5 - 390625*xi(1)^4 - 2656250*xi(1)^3 + 531250*xi(1)^2 + 703125*xi(1) - 140625))/113246208;
      case 207
        vBase = ((125*xi(2)^5 - 25*xi(2)^4 - 170*xi(2)^3 + 34*xi(2)^2 + 45*xi(2) - 9)*(125*xi(3)^5 + 75*xi(3)^4 - 130*xi(3)^3 - 78*xi(3)^2 + 5*xi(3) + 3)*(1953125*xi(1)^5 + 390625*xi(1)^4 - 2656250*xi(1)^3 - 531250*xi(1)^2 + 703125*xi(1) + 140625))/113246208;
      case 208
        vBase = -((125*xi(1)^5 + 75*xi(1)^4 - 130*xi(1)^3 - 78*xi(1)^2 + 5*xi(1) + 3)*(125*xi(3)^5 + 75*xi(3)^4 - 130*xi(3)^3 - 78*xi(3)^2 + 5*xi(3) + 3)*(1953125*xi(2)^5 - 390625*xi(2)^4 - 2656250*xi(2)^3 + 531250*xi(2)^2 + 703125*xi(2) - 140625))/226492416;
      case 209
        vBase = -((125*xi(1)^5 - 75*xi(1)^4 - 130*xi(1)^3 + 78*xi(1)^2 + 5*xi(1) - 3)*(125*xi(3)^5 + 75*xi(3)^4 - 130*xi(3)^3 - 78*xi(3)^2 + 5*xi(3) + 3)*(1953125*xi(2)^5 + 390625*xi(2)^4 - 2656250*xi(2)^3 - 531250*xi(2)^2 + 703125*xi(2) + 140625))/226492416;
      case 210
        vBase = ((125*xi(2)^5 + 25*xi(2)^4 - 170*xi(2)^3 - 34*xi(2)^2 + 45*xi(2) + 9)*(125*xi(3)^5 + 75*xi(3)^4 - 130*xi(3)^3 - 78*xi(3)^2 + 5*xi(3) + 3)*(1953125*xi(1)^5 - 390625*xi(1)^4 - 2656250*xi(1)^3 + 531250*xi(1)^2 + 703125*xi(1) - 140625))/113246208;
      case 211
        vBase = -((125*xi(2)^5 + 25*xi(2)^4 - 170*xi(2)^3 - 34*xi(2)^2 + 45*xi(2) + 9)*(125*xi(3)^5 + 75*xi(3)^4 - 130*xi(3)^3 - 78*xi(3)^2 + 5*xi(3) + 3)*(1953125*xi(1)^5 + 390625*xi(1)^4 - 2656250*xi(1)^3 - 531250*xi(1)^2 + 703125*xi(1) + 140625))/113246208;
      case 212
        vBase = ((125*xi(1)^5 + 75*xi(1)^4 - 130*xi(1)^3 - 78*xi(1)^2 + 5*xi(1) + 3)*(125*xi(3)^5 + 75*xi(3)^4 - 130*xi(3)^3 - 78*xi(3)^2 + 5*xi(3) + 3)*(1953125*xi(2)^5 + 390625*xi(2)^4 - 2656250*xi(2)^3 - 531250*xi(2)^2 + 703125*xi(2) + 140625))/226492416;
      case 213
        vBase = ((125*xi(2)^5 + 75*xi(2)^4 - 130*xi(2)^3 - 78*xi(2)^2 + 5*xi(2) + 3)*(125*xi(3)^5 + 75*xi(3)^4 - 130*xi(3)^3 - 78*xi(3)^2 + 5*xi(3) + 3)*(1953125*xi(1)^5 - 1171875*xi(1)^4 - 2031250*xi(1)^3 + 1218750*xi(1)^2 + 78125*xi(1) - 46875))/452984832;
      case 214
        vBase = -((125*xi(2)^5 + 75*xi(2)^4 - 130*xi(2)^3 - 78*xi(2)^2 + 5*xi(2) + 3)*(125*xi(3)^5 + 75*xi(3)^4 - 130*xi(3)^3 - 78*xi(3)^2 + 5*xi(3) + 3)*(1953125*xi(1)^5 - 390625*xi(1)^4 - 2656250*xi(1)^3 + 531250*xi(1)^2 + 703125*xi(1) - 140625))/226492416;
      case 215
        vBase = ((125*xi(2)^5 + 75*xi(2)^4 - 130*xi(2)^3 - 78*xi(2)^2 + 5*xi(2) + 3)*(125*xi(3)^5 + 75*xi(3)^4 - 130*xi(3)^3 - 78*xi(3)^2 + 5*xi(3) + 3)*(1953125*xi(1)^5 + 390625*xi(1)^4 - 2656250*xi(1)^3 - 531250*xi(1)^2 + 703125*xi(1) + 140625))/226492416;
      case 216
        vBase = -((125*xi(2)^5 + 75*xi(2)^4 - 130*xi(2)^3 - 78*xi(2)^2 + 5*xi(2) + 3)*(125*xi(3)^5 + 75*xi(3)^4 - 130*xi(3)^3 - 78*xi(3)^2 + 5*xi(3) + 3)*(1953125*xi(1)^5 + 1171875*xi(1)^4 - 2031250*xi(1)^3 - 1218750*xi(1)^2 + 78125*xi(1) + 46875))/452984832;
    end

  case {2,3,4}

    switch i_dof
      case 1
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(3) - 1)*(3125*xi(1)^4 - 2500*xi(1)^3 - 750*xi(1)^2 + 500*xi(1) + 9))/452984832;
        dNdxi2 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(3) - 1)*(3125*xi(2)^4 - 2500*xi(2)^3 - 750*xi(2)^2 + 500*xi(2) + 9))/452984832;
        dNdxi3 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(2) - 1)*(3125*xi(3)^4 - 2500*xi(3)^3 - 750*xi(3)^2 + 500*xi(3) + 9))/452984832;
      case 2
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(3) - 1)*(3125*xi(1)^4 + 2500*xi(1)^3 - 750*xi(1)^2 - 500*xi(1) + 9))/452984832;
        dNdxi2 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) + 1)*(xi(3) - 1)*(3125*xi(2)^4 - 2500*xi(2)^3 - 750*xi(2)^2 + 500*xi(2) + 9))/452984832;
        dNdxi3 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) + 1)*(xi(2) - 1)*(3125*xi(3)^4 - 2500*xi(3)^3 - 750*xi(3)^2 + 500*xi(3) + 9))/452984832;
      case 3
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) + 1)*(xi(3) - 1)*(3125*xi(1)^4 + 2500*xi(1)^3 - 750*xi(1)^2 - 500*xi(1) + 9))/452984832;
        dNdxi2 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) + 1)*(xi(3) - 1)*(3125*xi(2)^4 + 2500*xi(2)^3 - 750*xi(2)^2 - 500*xi(2) + 9))/452984832;
        dNdxi3 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) + 1)*(xi(2) + 1)*(3125*xi(3)^4 - 2500*xi(3)^3 - 750*xi(3)^2 + 500*xi(3) + 9))/452984832;
      case 4
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) + 1)*(xi(3) - 1)*(3125*xi(1)^4 - 2500*xi(1)^3 - 750*xi(1)^2 + 500*xi(1) + 9))/452984832;
        dNdxi2 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(3) - 1)*(3125*xi(2)^4 + 2500*xi(2)^3 - 750*xi(2)^2 - 500*xi(2) + 9))/452984832;
        dNdxi3 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(2) + 1)*(3125*xi(3)^4 - 2500*xi(3)^3 - 750*xi(3)^2 + 500*xi(3) + 9))/452984832;
      case 5
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(3) + 1)*(3125*xi(1)^4 - 2500*xi(1)^3 - 750*xi(1)^2 + 500*xi(1) + 9))/452984832;
        dNdxi2 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(3) + 1)*(3125*xi(2)^4 - 2500*xi(2)^3 - 750*xi(2)^2 + 500*xi(2) + 9))/452984832;
        dNdxi3 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(2) - 1)*(3125*xi(3)^4 + 2500*xi(3)^3 - 750*xi(3)^2 - 500*xi(3) + 9))/452984832;
      case 6
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(3) + 1)*(3125*xi(1)^4 + 2500*xi(1)^3 - 750*xi(1)^2 - 500*xi(1) + 9))/452984832;
        dNdxi2 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) + 1)*(xi(3) + 1)*(3125*xi(2)^4 - 2500*xi(2)^3 - 750*xi(2)^2 + 500*xi(2) + 9))/452984832;
        dNdxi3 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) + 1)*(xi(2) - 1)*(3125*xi(3)^4 + 2500*xi(3)^3 - 750*xi(3)^2 - 500*xi(3) + 9))/452984832;
      case 7
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) + 1)*(xi(3) + 1)*(3125*xi(1)^4 + 2500*xi(1)^3 - 750*xi(1)^2 - 500*xi(1) + 9))/452984832;
        dNdxi2 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) + 1)*(xi(3) + 1)*(3125*xi(2)^4 + 2500*xi(2)^3 - 750*xi(2)^2 - 500*xi(2) + 9))/452984832;
        dNdxi3 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) + 1)*(xi(2) + 1)*(3125*xi(3)^4 + 2500*xi(3)^3 - 750*xi(3)^2 - 500*xi(3) + 9))/452984832;
      case 8
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) + 1)*(xi(3) + 1)*(3125*xi(1)^4 - 2500*xi(1)^3 - 750*xi(1)^2 + 500*xi(1) + 9))/452984832;
        dNdxi2 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(3) + 1)*(3125*xi(2)^4 + 2500*xi(2)^3 - 750*xi(2)^2 - 500*xi(2) + 9))/452984832;
        dNdxi3 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(2) + 1)*(3125*xi(3)^4 + 2500*xi(3)^3 - 750*xi(3)^2 - 500*xi(3) + 9))/452984832;
      case 9
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(3) - 1)*(15625*xi(1)^4 - 7500*xi(1)^3 - 9750*xi(1)^2 + 3900*xi(1) + 125))/452984832;
        dNdxi2 = (25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(3125*xi(2)^4 - 2500*xi(2)^3 - 750*xi(2)^2 + 500*xi(2) + 9))/452984832;
        dNdxi3 = (25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(3125*xi(3)^4 - 2500*xi(3)^3 - 750*xi(3)^2 + 500*xi(3) + 9))/452984832;
      case 10
        dNdxi1 = -(25*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(3125*xi(1)^4 + 2500*xi(1)^3 - 750*xi(1)^2 - 500*xi(1) + 9))/452984832;
        dNdxi2 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) + 1)*(xi(3) - 1)*(15625*xi(2)^4 - 7500*xi(2)^3 - 9750*xi(2)^2 + 3900*xi(2) + 125))/452984832;
        dNdxi3 = -(25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 - 2500*xi(3)^3 - 750*xi(3)^2 + 500*xi(3) + 9))/452984832;
      case 11
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) + 1)*(xi(3) - 1)*(15625*xi(1)^4 + 7500*xi(1)^3 - 9750*xi(1)^2 - 3900*xi(1) + 125))/452984832;
        dNdxi2 = (25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(3125*xi(2)^4 + 2500*xi(2)^3 - 750*xi(2)^2 - 500*xi(2) + 9))/452984832;
        dNdxi3 = (25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) + 1)*(3125*xi(3)^4 - 2500*xi(3)^3 - 750*xi(3)^2 + 500*xi(3) + 9))/452984832;
      case 12
        dNdxi1 = -(25*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(3125*xi(1)^4 - 2500*xi(1)^3 - 750*xi(1)^2 + 500*xi(1) + 9))/452984832;
        dNdxi2 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(3) - 1)*(15625*xi(2)^4 + 7500*xi(2)^3 - 9750*xi(2)^2 - 3900*xi(2) + 125))/452984832;
        dNdxi3 = -(25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 - 2500*xi(3)^3 - 750*xi(3)^2 + 500*xi(3) + 9))/452984832;
      case 13
        dNdxi1 = (25*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(2) - 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 - 2500*xi(1)^3 - 750*xi(1)^2 + 500*xi(1) + 9))/452984832;
        dNdxi2 = (25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(1) - 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 - 2500*xi(2)^3 - 750*xi(2)^2 + 500*xi(2) + 9))/452984832;
        dNdxi3 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(2) - 1)*(15625*xi(3)^4 - 7500*xi(3)^3 - 9750*xi(3)^2 + 3900*xi(3) + 125))/452984832;
      case 14
        dNdxi1 = -(25*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(2) - 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 + 2500*xi(1)^3 - 750*xi(1)^2 - 500*xi(1) + 9))/452984832;
        dNdxi2 = -(25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 - 2500*xi(2)^3 - 750*xi(2)^2 + 500*xi(2) + 9))/452984832;
        dNdxi3 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) + 1)*(xi(2) - 1)*(15625*xi(3)^4 - 7500*xi(3)^3 - 9750*xi(3)^2 + 3900*xi(3) + 125))/452984832;
      case 15
        dNdxi1 = (25*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 + 2500*xi(1)^3 - 750*xi(1)^2 - 500*xi(1) + 9))/452984832;
        dNdxi2 = (25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 + 2500*xi(2)^3 - 750*xi(2)^2 - 500*xi(2) + 9))/452984832;
        dNdxi3 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) + 1)*(xi(2) + 1)*(15625*xi(3)^4 - 7500*xi(3)^3 - 9750*xi(3)^2 + 3900*xi(3) + 125))/452984832;
      case 16
        dNdxi1 = -(25*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 - 2500*xi(1)^3 - 750*xi(1)^2 + 500*xi(1) + 9))/452984832;
        dNdxi2 = -(25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(1) - 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 + 2500*xi(2)^3 - 750*xi(2)^2 - 500*xi(2) + 9))/452984832;
        dNdxi3 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(2) + 1)*(15625*xi(3)^4 - 7500*xi(3)^3 - 9750*xi(3)^2 + 3900*xi(3) + 125))/452984832;
      case 17
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(3) + 1)*(15625*xi(1)^4 - 7500*xi(1)^3 - 9750*xi(1)^2 + 3900*xi(1) + 125))/452984832;
        dNdxi2 = -(25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) + 1)*(3125*xi(2)^4 - 2500*xi(2)^3 - 750*xi(2)^2 + 500*xi(2) + 9))/452984832;
        dNdxi3 = -(25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(3125*xi(3)^4 + 2500*xi(3)^3 - 750*xi(3)^2 - 500*xi(3) + 9))/452984832;
      case 18
        dNdxi1 = (25*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) + 1)*(3125*xi(1)^4 + 2500*xi(1)^3 - 750*xi(1)^2 - 500*xi(1) + 9))/452984832;
        dNdxi2 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) + 1)*(xi(3) + 1)*(15625*xi(2)^4 - 7500*xi(2)^3 - 9750*xi(2)^2 + 3900*xi(2) + 125))/452984832;
        dNdxi3 = (25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 + 2500*xi(3)^3 - 750*xi(3)^2 - 500*xi(3) + 9))/452984832;
      case 19
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) + 1)*(xi(3) + 1)*(15625*xi(1)^4 + 7500*xi(1)^3 - 9750*xi(1)^2 - 3900*xi(1) + 125))/452984832;
        dNdxi2 = -(25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) + 1)*(3125*xi(2)^4 + 2500*xi(2)^3 - 750*xi(2)^2 - 500*xi(2) + 9))/452984832;
        dNdxi3 = -(25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) + 1)*(3125*xi(3)^4 + 2500*xi(3)^3 - 750*xi(3)^2 - 500*xi(3) + 9))/452984832;
      case 20
        dNdxi1 = (25*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) + 1)*(3125*xi(1)^4 - 2500*xi(1)^3 - 750*xi(1)^2 + 500*xi(1) + 9))/452984832;
        dNdxi2 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(3) + 1)*(15625*xi(2)^4 + 7500*xi(2)^3 - 9750*xi(2)^2 - 3900*xi(2) + 125))/452984832;
        dNdxi3 = (25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 + 2500*xi(3)^3 - 750*xi(3)^2 - 500*xi(3) + 9))/452984832;
      case 21
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(3) - 1)*(15625*xi(1)^4 - 2500*xi(1)^3 - 12750*xi(1)^2 + 1700*xi(1) + 1125))/226492416;
        dNdxi2 = -(25*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(3125*xi(2)^4 - 2500*xi(2)^3 - 750*xi(2)^2 + 500*xi(2) + 9))/226492416;
        dNdxi3 = -(25*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(3125*xi(3)^4 - 2500*xi(3)^3 - 750*xi(3)^2 + 500*xi(3) + 9))/226492416;
      case 22
        dNdxi1 = (25*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(3125*xi(1)^4 + 2500*xi(1)^3 - 750*xi(1)^2 - 500*xi(1) + 9))/226492416;
        dNdxi2 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) + 1)*(xi(3) - 1)*(15625*xi(2)^4 - 2500*xi(2)^3 - 12750*xi(2)^2 + 1700*xi(2) + 1125))/226492416;
        dNdxi3 = (25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 - 2500*xi(3)^3 - 750*xi(3)^2 + 500*xi(3) + 9))/226492416;
      case 23
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) + 1)*(xi(3) - 1)*(15625*xi(1)^4 + 2500*xi(1)^3 - 12750*xi(1)^2 - 1700*xi(1) + 1125))/226492416;
        dNdxi2 = -(25*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(3125*xi(2)^4 + 2500*xi(2)^3 - 750*xi(2)^2 - 500*xi(2) + 9))/226492416;
        dNdxi3 = -(25*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) + 1)*(3125*xi(3)^4 - 2500*xi(3)^3 - 750*xi(3)^2 + 500*xi(3) + 9))/226492416;
      case 24
        dNdxi1 = (25*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(3125*xi(1)^4 - 2500*xi(1)^3 - 750*xi(1)^2 + 500*xi(1) + 9))/226492416;
        dNdxi2 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(3) - 1)*(15625*xi(2)^4 + 2500*xi(2)^3 - 12750*xi(2)^2 - 1700*xi(2) + 1125))/226492416;
        dNdxi3 = (25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 - 2500*xi(3)^3 - 750*xi(3)^2 + 500*xi(3) + 9))/226492416;
      case 25
        dNdxi1 = -(25*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 - 2500*xi(1)^3 - 750*xi(1)^2 + 500*xi(1) + 9))/226492416;
        dNdxi2 = -(25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 - 2500*xi(2)^3 - 750*xi(2)^2 + 500*xi(2) + 9))/226492416;
        dNdxi3 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(2) - 1)*(15625*xi(3)^4 - 2500*xi(3)^3 - 12750*xi(3)^2 + 1700*xi(3) + 1125))/226492416;
      case 26
        dNdxi1 = (25*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 + 2500*xi(1)^3 - 750*xi(1)^2 - 500*xi(1) + 9))/226492416;
        dNdxi2 = (25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 - 2500*xi(2)^3 - 750*xi(2)^2 + 500*xi(2) + 9))/226492416;
        dNdxi3 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) + 1)*(xi(2) - 1)*(15625*xi(3)^4 - 2500*xi(3)^3 - 12750*xi(3)^2 + 1700*xi(3) + 1125))/226492416;
      case 27
        dNdxi1 = -(25*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 + 2500*xi(1)^3 - 750*xi(1)^2 - 500*xi(1) + 9))/226492416;
        dNdxi2 = -(25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 + 2500*xi(2)^3 - 750*xi(2)^2 - 500*xi(2) + 9))/226492416;
        dNdxi3 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) + 1)*(xi(2) + 1)*(15625*xi(3)^4 - 2500*xi(3)^3 - 12750*xi(3)^2 + 1700*xi(3) + 1125))/226492416;
      case 28
        dNdxi1 = (25*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 - 2500*xi(1)^3 - 750*xi(1)^2 + 500*xi(1) + 9))/226492416;
        dNdxi2 = (25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 + 2500*xi(2)^3 - 750*xi(2)^2 - 500*xi(2) + 9))/226492416;
        dNdxi3 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(2) + 1)*(15625*xi(3)^4 - 2500*xi(3)^3 - 12750*xi(3)^2 + 1700*xi(3) + 1125))/226492416;
      case 29
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(3) + 1)*(15625*xi(1)^4 - 2500*xi(1)^3 - 12750*xi(1)^2 + 1700*xi(1) + 1125))/226492416;
        dNdxi2 = (25*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) + 1)*(3125*xi(2)^4 - 2500*xi(2)^3 - 750*xi(2)^2 + 500*xi(2) + 9))/226492416;
        dNdxi3 = (25*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(3125*xi(3)^4 + 2500*xi(3)^3 - 750*xi(3)^2 - 500*xi(3) + 9))/226492416;
      case 30
        dNdxi1 = -(25*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) + 1)*(3125*xi(1)^4 + 2500*xi(1)^3 - 750*xi(1)^2 - 500*xi(1) + 9))/226492416;
        dNdxi2 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) + 1)*(xi(3) + 1)*(15625*xi(2)^4 - 2500*xi(2)^3 - 12750*xi(2)^2 + 1700*xi(2) + 1125))/226492416;
        dNdxi3 = -(25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 + 2500*xi(3)^3 - 750*xi(3)^2 - 500*xi(3) + 9))/226492416;
      case 31
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) + 1)*(xi(3) + 1)*(15625*xi(1)^4 + 2500*xi(1)^3 - 12750*xi(1)^2 - 1700*xi(1) + 1125))/226492416;
        dNdxi2 = (25*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) + 1)*(3125*xi(2)^4 + 2500*xi(2)^3 - 750*xi(2)^2 - 500*xi(2) + 9))/226492416;
        dNdxi3 = (25*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) + 1)*(3125*xi(3)^4 + 2500*xi(3)^3 - 750*xi(3)^2 - 500*xi(3) + 9))/226492416;
      case 32
        dNdxi1 = -(25*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) + 1)*(3125*xi(1)^4 - 2500*xi(1)^3 - 750*xi(1)^2 + 500*xi(1) + 9))/226492416;
        dNdxi2 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(3) + 1)*(15625*xi(2)^4 + 2500*xi(2)^3 - 12750*xi(2)^2 - 1700*xi(2) + 1125))/226492416;
        dNdxi3 = -(25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 + 2500*xi(3)^3 - 750*xi(3)^2 - 500*xi(3) + 9))/226492416;
      case 33
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(3) - 1)*(15625*xi(1)^4 + 2500*xi(1)^3 - 12750*xi(1)^2 - 1700*xi(1) + 1125))/226492416;
        dNdxi2 = (25*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(3125*xi(2)^4 - 2500*xi(2)^3 - 750*xi(2)^2 + 500*xi(2) + 9))/226492416;
        dNdxi3 = (25*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(3125*xi(3)^4 - 2500*xi(3)^3 - 750*xi(3)^2 + 500*xi(3) + 9))/226492416;
      case 34
        dNdxi1 = -(25*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(3125*xi(1)^4 + 2500*xi(1)^3 - 750*xi(1)^2 - 500*xi(1) + 9))/226492416;
        dNdxi2 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) + 1)*(xi(3) - 1)*(15625*xi(2)^4 + 2500*xi(2)^3 - 12750*xi(2)^2 - 1700*xi(2) + 1125))/226492416;
        dNdxi3 = -(25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 - 2500*xi(3)^3 - 750*xi(3)^2 + 500*xi(3) + 9))/226492416;
      case 35
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) + 1)*(xi(3) - 1)*(15625*xi(1)^4 - 2500*xi(1)^3 - 12750*xi(1)^2 + 1700*xi(1) + 1125))/226492416;
        dNdxi2 = (25*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(3125*xi(2)^4 + 2500*xi(2)^3 - 750*xi(2)^2 - 500*xi(2) + 9))/226492416;
        dNdxi3 = (25*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) + 1)*(3125*xi(3)^4 - 2500*xi(3)^3 - 750*xi(3)^2 + 500*xi(3) + 9))/226492416;
      case 36
        dNdxi1 = -(25*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(3125*xi(1)^4 - 2500*xi(1)^3 - 750*xi(1)^2 + 500*xi(1) + 9))/226492416;
        dNdxi2 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(3) - 1)*(15625*xi(2)^4 - 2500*xi(2)^3 - 12750*xi(2)^2 + 1700*xi(2) + 1125))/226492416;
        dNdxi3 = -(25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 - 2500*xi(3)^3 - 750*xi(3)^2 + 500*xi(3) + 9))/226492416;
      case 37
        dNdxi1 = (25*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 - 2500*xi(1)^3 - 750*xi(1)^2 + 500*xi(1) + 9))/226492416;
        dNdxi2 = (25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 - 2500*xi(2)^3 - 750*xi(2)^2 + 500*xi(2) + 9))/226492416;
        dNdxi3 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(2) - 1)*(15625*xi(3)^4 + 2500*xi(3)^3 - 12750*xi(3)^2 - 1700*xi(3) + 1125))/226492416;
      case 38
        dNdxi1 = -(25*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 + 2500*xi(1)^3 - 750*xi(1)^2 - 500*xi(1) + 9))/226492416;
        dNdxi2 = -(25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 - 2500*xi(2)^3 - 750*xi(2)^2 + 500*xi(2) + 9))/226492416;
        dNdxi3 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) + 1)*(xi(2) - 1)*(15625*xi(3)^4 + 2500*xi(3)^3 - 12750*xi(3)^2 - 1700*xi(3) + 1125))/226492416;
      case 39
        dNdxi1 = (25*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 + 2500*xi(1)^3 - 750*xi(1)^2 - 500*xi(1) + 9))/226492416;
        dNdxi2 = (25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 + 2500*xi(2)^3 - 750*xi(2)^2 - 500*xi(2) + 9))/226492416;
        dNdxi3 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) + 1)*(xi(2) + 1)*(15625*xi(3)^4 + 2500*xi(3)^3 - 12750*xi(3)^2 - 1700*xi(3) + 1125))/226492416;
      case 40
        dNdxi1 = -(25*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 - 2500*xi(1)^3 - 750*xi(1)^2 + 500*xi(1) + 9))/226492416;
        dNdxi2 = -(25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 + 2500*xi(2)^3 - 750*xi(2)^2 - 500*xi(2) + 9))/226492416;
        dNdxi3 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(2) + 1)*(15625*xi(3)^4 + 2500*xi(3)^3 - 12750*xi(3)^2 - 1700*xi(3) + 1125))/226492416;
      case 41
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(3) + 1)*(15625*xi(1)^4 + 2500*xi(1)^3 - 12750*xi(1)^2 - 1700*xi(1) + 1125))/226492416;
        dNdxi2 = -(25*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) + 1)*(3125*xi(2)^4 - 2500*xi(2)^3 - 750*xi(2)^2 + 500*xi(2) + 9))/226492416;
        dNdxi3 = -(25*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(3125*xi(3)^4 + 2500*xi(3)^3 - 750*xi(3)^2 - 500*xi(3) + 9))/226492416;
      case 42
        dNdxi1 = (25*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) + 1)*(3125*xi(1)^4 + 2500*xi(1)^3 - 750*xi(1)^2 - 500*xi(1) + 9))/226492416;
        dNdxi2 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) + 1)*(xi(3) + 1)*(15625*xi(2)^4 + 2500*xi(2)^3 - 12750*xi(2)^2 - 1700*xi(2) + 1125))/226492416;
        dNdxi3 = (25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 + 2500*xi(3)^3 - 750*xi(3)^2 - 500*xi(3) + 9))/226492416;
      case 43
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) + 1)*(xi(3) + 1)*(15625*xi(1)^4 - 2500*xi(1)^3 - 12750*xi(1)^2 + 1700*xi(1) + 1125))/226492416;
        dNdxi2 = -(25*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) + 1)*(3125*xi(2)^4 + 2500*xi(2)^3 - 750*xi(2)^2 - 500*xi(2) + 9))/226492416;
        dNdxi3 = -(25*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) + 1)*(3125*xi(3)^4 + 2500*xi(3)^3 - 750*xi(3)^2 - 500*xi(3) + 9))/226492416;
      case 44
        dNdxi1 = (25*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) + 1)*(3125*xi(1)^4 - 2500*xi(1)^3 - 750*xi(1)^2 + 500*xi(1) + 9))/226492416;
        dNdxi2 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(3) + 1)*(15625*xi(2)^4 - 2500*xi(2)^3 - 12750*xi(2)^2 + 1700*xi(2) + 1125))/226492416;
        dNdxi3 = (25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 + 2500*xi(3)^3 - 750*xi(3)^2 - 500*xi(3) + 9))/226492416;
      case 45
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(3) - 1)*(15625*xi(1)^4 + 7500*xi(1)^3 - 9750*xi(1)^2 - 3900*xi(1) + 125))/452984832;
        dNdxi2 = -(25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(3125*xi(2)^4 - 2500*xi(2)^3 - 750*xi(2)^2 + 500*xi(2) + 9))/452984832;
        dNdxi3 = -(25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(3125*xi(3)^4 - 2500*xi(3)^3 - 750*xi(3)^2 + 500*xi(3) + 9))/452984832;
      case 46
        dNdxi1 = (25*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(3125*xi(1)^4 + 2500*xi(1)^3 - 750*xi(1)^2 - 500*xi(1) + 9))/452984832;
        dNdxi2 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) + 1)*(xi(3) - 1)*(15625*xi(2)^4 + 7500*xi(2)^3 - 9750*xi(2)^2 - 3900*xi(2) + 125))/452984832;
        dNdxi3 = (25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 - 2500*xi(3)^3 - 750*xi(3)^2 + 500*xi(3) + 9))/452984832;
      case 47
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) + 1)*(xi(3) - 1)*(15625*xi(1)^4 - 7500*xi(1)^3 - 9750*xi(1)^2 + 3900*xi(1) + 125))/452984832;
        dNdxi2 = -(25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(3125*xi(2)^4 + 2500*xi(2)^3 - 750*xi(2)^2 - 500*xi(2) + 9))/452984832;
        dNdxi3 = -(25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) + 1)*(3125*xi(3)^4 - 2500*xi(3)^3 - 750*xi(3)^2 + 500*xi(3) + 9))/452984832;
      case 48
        dNdxi1 = (25*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(3125*xi(1)^4 - 2500*xi(1)^3 - 750*xi(1)^2 + 500*xi(1) + 9))/452984832;
        dNdxi2 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(3) - 1)*(15625*xi(2)^4 - 7500*xi(2)^3 - 9750*xi(2)^2 + 3900*xi(2) + 125))/452984832;
        dNdxi3 = (25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(xi(1) - 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 - 2500*xi(3)^3 - 750*xi(3)^2 + 500*xi(3) + 9))/452984832;
      case 49
        dNdxi1 = -(25*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 - 2500*xi(1)^3 - 750*xi(1)^2 + 500*xi(1) + 9))/452984832;
        dNdxi2 = -(25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 - 2500*xi(2)^3 - 750*xi(2)^2 + 500*xi(2) + 9))/452984832;
        dNdxi3 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(2) - 1)*(15625*xi(3)^4 + 7500*xi(3)^3 - 9750*xi(3)^2 - 3900*xi(3) + 125))/452984832;
      case 50
        dNdxi1 = (25*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 + 2500*xi(1)^3 - 750*xi(1)^2 - 500*xi(1) + 9))/452984832;
        dNdxi2 = (25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 - 2500*xi(2)^3 - 750*xi(2)^2 + 500*xi(2) + 9))/452984832;
        dNdxi3 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) + 1)*(xi(2) - 1)*(15625*xi(3)^4 + 7500*xi(3)^3 - 9750*xi(3)^2 - 3900*xi(3) + 125))/452984832;
      case 51
        dNdxi1 = -(25*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 + 2500*xi(1)^3 - 750*xi(1)^2 - 500*xi(1) + 9))/452984832;
        dNdxi2 = -(25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 + 2500*xi(2)^3 - 750*xi(2)^2 - 500*xi(2) + 9))/452984832;
        dNdxi3 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) + 1)*(xi(2) + 1)*(15625*xi(3)^4 + 7500*xi(3)^3 - 9750*xi(3)^2 - 3900*xi(3) + 125))/452984832;
      case 52
        dNdxi1 = (25*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 - 2500*xi(1)^3 - 750*xi(1)^2 + 500*xi(1) + 9))/452984832;
        dNdxi2 = (25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 + 2500*xi(2)^3 - 750*xi(2)^2 - 500*xi(2) + 9))/452984832;
        dNdxi3 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(2) + 1)*(15625*xi(3)^4 + 7500*xi(3)^3 - 9750*xi(3)^2 - 3900*xi(3) + 125))/452984832;
      case 53
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(3) + 1)*(15625*xi(1)^4 + 7500*xi(1)^3 - 9750*xi(1)^2 - 3900*xi(1) + 125))/452984832;
        dNdxi2 = (25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) + 1)*(3125*xi(2)^4 - 2500*xi(2)^3 - 750*xi(2)^2 + 500*xi(2) + 9))/452984832;
        dNdxi3 = (25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(3125*xi(3)^4 + 2500*xi(3)^3 - 750*xi(3)^2 - 500*xi(3) + 9))/452984832;
      case 54
        dNdxi1 = -(25*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) + 1)*(3125*xi(1)^4 + 2500*xi(1)^3 - 750*xi(1)^2 - 500*xi(1) + 9))/452984832;
        dNdxi2 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) + 1)*(xi(3) + 1)*(15625*xi(2)^4 + 7500*xi(2)^3 - 9750*xi(2)^2 - 3900*xi(2) + 125))/452984832;
        dNdxi3 = -(25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 + 2500*xi(3)^3 - 750*xi(3)^2 - 500*xi(3) + 9))/452984832;
      case 55
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) + 1)*(xi(3) + 1)*(15625*xi(1)^4 - 7500*xi(1)^3 - 9750*xi(1)^2 + 3900*xi(1) + 125))/452984832;
        dNdxi2 = (25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) + 1)*(3125*xi(2)^4 + 2500*xi(2)^3 - 750*xi(2)^2 - 500*xi(2) + 9))/452984832;
        dNdxi3 = (25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) + 1)*(3125*xi(3)^4 + 2500*xi(3)^3 - 750*xi(3)^2 - 500*xi(3) + 9))/452984832;
      case 56
        dNdxi1 = -(25*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) + 1)*(3125*xi(1)^4 - 2500*xi(1)^3 - 750*xi(1)^2 + 500*xi(1) + 9))/452984832;
        dNdxi2 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(3) + 1)*(15625*xi(2)^4 - 7500*xi(2)^3 - 9750*xi(2)^2 + 3900*xi(2) + 125))/452984832;
        dNdxi3 = -(25*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(xi(1) - 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 + 2500*xi(3)^3 - 750*xi(3)^2 - 500*xi(3) + 9))/452984832;
      case 57
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(390625*xi(1)^4 - 187500*xi(1)^3 - 243750*xi(1)^2 + 97500*xi(1) + 3125))/452984832;
        dNdxi2 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(625*xi(2)^4 - 300*xi(2)^3 - 390*xi(2)^2 + 156*xi(2) + 5))/452984832;
        dNdxi3 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 - 2500*xi(3)^3 - 750*xi(3)^2 + 500*xi(3) + 9))/452984832;
      case 58
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(2) - 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(1)^4 - 187500*xi(1)^3 - 243750*xi(1)^2 + 97500*xi(1) + 3125))/452984832;
        dNdxi2 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 - 2500*xi(2)^3 - 750*xi(2)^2 + 500*xi(2) + 9))/452984832;
        dNdxi3 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(625*xi(3)^4 - 300*xi(3)^3 - 390*xi(3)^2 + 156*xi(3) + 5))/452984832;
      case 59
        dNdxi1 = (625*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 + 2500*xi(1)^3 - 750*xi(1)^2 - 500*xi(1) + 9))/452984832;
        dNdxi2 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(2)^4 - 187500*xi(2)^3 - 243750*xi(2)^2 + 97500*xi(2) + 3125))/452984832;
        dNdxi3 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 300*xi(3)^3 - 390*xi(3)^2 + 156*xi(3) + 5))/452984832;
      case 60
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(1)^4 + 187500*xi(1)^3 - 243750*xi(1)^2 - 97500*xi(1) + 3125))/452984832;
        dNdxi2 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 + 2500*xi(2)^3 - 750*xi(2)^2 - 500*xi(2) + 9))/452984832;
        dNdxi3 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) + 1)*(625*xi(3)^4 - 300*xi(3)^3 - 390*xi(3)^2 + 156*xi(3) + 5))/452984832;
      case 61
        dNdxi1 = (625*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 - 2500*xi(1)^3 - 750*xi(1)^2 + 500*xi(1) + 9))/452984832;
        dNdxi2 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(1) - 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(2)^4 + 187500*xi(2)^3 - 243750*xi(2)^2 - 97500*xi(2) + 3125))/452984832;
        dNdxi3 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 300*xi(3)^3 - 390*xi(3)^2 + 156*xi(3) + 5))/452984832;
      case 62
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) + 1)*(390625*xi(1)^4 - 187500*xi(1)^3 - 243750*xi(1)^2 + 97500*xi(1) + 3125))/452984832;
        dNdxi2 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) + 1)*(625*xi(2)^4 - 300*xi(2)^3 - 390*xi(2)^2 + 156*xi(2) + 5))/452984832;
        dNdxi3 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 + 2500*xi(3)^3 - 750*xi(3)^2 - 500*xi(3) + 9))/452984832;
      case 63
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(390625*xi(1)^4 - 62500*xi(1)^3 - 318750*xi(1)^2 + 42500*xi(1) + 28125))/226492416;
        dNdxi2 = (625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(625*xi(2)^4 - 300*xi(2)^3 - 390*xi(2)^2 + 156*xi(2) + 5))/226492416;
        dNdxi3 = (625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 - 2500*xi(3)^3 - 750*xi(3)^2 + 500*xi(3) + 9))/226492416;
      case 64
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(2) - 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(1)^4 - 62500*xi(1)^3 - 318750*xi(1)^2 + 42500*xi(1) + 28125))/226492416;
        dNdxi2 = (625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 - 2500*xi(2)^3 - 750*xi(2)^2 + 500*xi(2) + 9))/226492416;
        dNdxi3 = (625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(625*xi(3)^4 - 300*xi(3)^3 - 390*xi(3)^2 + 156*xi(3) + 5))/226492416;
      case 65
        dNdxi1 = -(625*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 + 2500*xi(1)^3 - 750*xi(1)^2 - 500*xi(1) + 9))/226492416;
        dNdxi2 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(2)^4 - 62500*xi(2)^3 - 318750*xi(2)^2 + 42500*xi(2) + 28125))/226492416;
        dNdxi3 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 300*xi(3)^3 - 390*xi(3)^2 + 156*xi(3) + 5))/226492416;
      case 66
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(1)^4 + 62500*xi(1)^3 - 318750*xi(1)^2 - 42500*xi(1) + 28125))/226492416;
        dNdxi2 = (625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 + 2500*xi(2)^3 - 750*xi(2)^2 - 500*xi(2) + 9))/226492416;
        dNdxi3 = (625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) + 1)*(625*xi(3)^4 - 300*xi(3)^3 - 390*xi(3)^2 + 156*xi(3) + 5))/226492416;
      case 67
        dNdxi1 = -(625*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 - 2500*xi(1)^3 - 750*xi(1)^2 + 500*xi(1) + 9))/226492416;
        dNdxi2 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(1) - 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(2)^4 + 62500*xi(2)^3 - 318750*xi(2)^2 - 42500*xi(2) + 28125))/226492416;
        dNdxi3 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 300*xi(3)^3 - 390*xi(3)^2 + 156*xi(3) + 5))/226492416;
      case 68
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) + 1)*(390625*xi(1)^4 - 62500*xi(1)^3 - 318750*xi(1)^2 + 42500*xi(1) + 28125))/226492416;
        dNdxi2 = -(625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) + 1)*(625*xi(2)^4 - 300*xi(2)^3 - 390*xi(2)^2 + 156*xi(2) + 5))/226492416;
        dNdxi3 = -(625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 + 2500*xi(3)^3 - 750*xi(3)^2 - 500*xi(3) + 9))/226492416;
      case 69
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(390625*xi(1)^4 + 62500*xi(1)^3 - 318750*xi(1)^2 - 42500*xi(1) + 28125))/226492416;
        dNdxi2 = -(625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(625*xi(2)^4 - 300*xi(2)^3 - 390*xi(2)^2 + 156*xi(2) + 5))/226492416;
        dNdxi3 = -(625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 - 2500*xi(3)^3 - 750*xi(3)^2 + 500*xi(3) + 9))/226492416;
      case 70
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(2) - 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(1)^4 + 62500*xi(1)^3 - 318750*xi(1)^2 - 42500*xi(1) + 28125))/226492416;
        dNdxi2 = -(625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 - 2500*xi(2)^3 - 750*xi(2)^2 + 500*xi(2) + 9))/226492416;
        dNdxi3 = -(625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(625*xi(3)^4 - 300*xi(3)^3 - 390*xi(3)^2 + 156*xi(3) + 5))/226492416;
      case 71
        dNdxi1 = (625*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 + 2500*xi(1)^3 - 750*xi(1)^2 - 500*xi(1) + 9))/226492416;
        dNdxi2 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(2)^4 + 62500*xi(2)^3 - 318750*xi(2)^2 - 42500*xi(2) + 28125))/226492416;
        dNdxi3 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 300*xi(3)^3 - 390*xi(3)^2 + 156*xi(3) + 5))/226492416;
      case 72
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(1)^4 - 62500*xi(1)^3 - 318750*xi(1)^2 + 42500*xi(1) + 28125))/226492416;
        dNdxi2 = -(625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 + 2500*xi(2)^3 - 750*xi(2)^2 - 500*xi(2) + 9))/226492416;
        dNdxi3 = -(625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) + 1)*(625*xi(3)^4 - 300*xi(3)^3 - 390*xi(3)^2 + 156*xi(3) + 5))/226492416;
      case 73
        dNdxi1 = (625*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 - 2500*xi(1)^3 - 750*xi(1)^2 + 500*xi(1) + 9))/226492416;
        dNdxi2 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(1) - 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(2)^4 - 62500*xi(2)^3 - 318750*xi(2)^2 + 42500*xi(2) + 28125))/226492416;
        dNdxi3 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 300*xi(3)^3 - 390*xi(3)^2 + 156*xi(3) + 5))/226492416;
      case 74
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) + 1)*(390625*xi(1)^4 + 62500*xi(1)^3 - 318750*xi(1)^2 - 42500*xi(1) + 28125))/226492416;
        dNdxi2 = (625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) + 1)*(625*xi(2)^4 - 300*xi(2)^3 - 390*xi(2)^2 + 156*xi(2) + 5))/226492416;
        dNdxi3 = (625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 + 2500*xi(3)^3 - 750*xi(3)^2 - 500*xi(3) + 9))/226492416;
      case 75
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(390625*xi(1)^4 + 187500*xi(1)^3 - 243750*xi(1)^2 - 97500*xi(1) + 3125))/452984832;
        dNdxi2 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(625*xi(2)^4 - 300*xi(2)^3 - 390*xi(2)^2 + 156*xi(2) + 5))/452984832;
        dNdxi3 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 - 2500*xi(3)^3 - 750*xi(3)^2 + 500*xi(3) + 9))/452984832;
      case 76
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(2) - 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(1)^4 + 187500*xi(1)^3 - 243750*xi(1)^2 - 97500*xi(1) + 3125))/452984832;
        dNdxi2 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 - 2500*xi(2)^3 - 750*xi(2)^2 + 500*xi(2) + 9))/452984832;
        dNdxi3 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(625*xi(3)^4 - 300*xi(3)^3 - 390*xi(3)^2 + 156*xi(3) + 5))/452984832;
      case 77
        dNdxi1 = -(625*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 + 2500*xi(1)^3 - 750*xi(1)^2 - 500*xi(1) + 9))/452984832;
        dNdxi2 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(2)^4 + 187500*xi(2)^3 - 243750*xi(2)^2 - 97500*xi(2) + 3125))/452984832;
        dNdxi3 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 300*xi(3)^3 - 390*xi(3)^2 + 156*xi(3) + 5))/452984832;
      case 78
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(1)^4 - 187500*xi(1)^3 - 243750*xi(1)^2 + 97500*xi(1) + 3125))/452984832;
        dNdxi2 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 + 2500*xi(2)^3 - 750*xi(2)^2 - 500*xi(2) + 9))/452984832;
        dNdxi3 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) + 1)*(625*xi(3)^4 - 300*xi(3)^3 - 390*xi(3)^2 + 156*xi(3) + 5))/452984832;
      case 79
        dNdxi1 = -(625*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 - 2500*xi(1)^3 - 750*xi(1)^2 + 500*xi(1) + 9))/452984832;
        dNdxi2 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(1) - 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(2)^4 - 187500*xi(2)^3 - 243750*xi(2)^2 + 97500*xi(2) + 3125))/452984832;
        dNdxi3 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(xi(1) - 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 300*xi(3)^3 - 390*xi(3)^2 + 156*xi(3) + 5))/452984832;
      case 80
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) + 1)*(390625*xi(1)^4 + 187500*xi(1)^3 - 243750*xi(1)^2 - 97500*xi(1) + 3125))/452984832;
        dNdxi2 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) + 1)*(625*xi(2)^4 - 300*xi(2)^3 - 390*xi(2)^2 + 156*xi(2) + 5))/452984832;
        dNdxi3 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 + 2500*xi(3)^3 - 750*xi(3)^2 - 500*xi(3) + 9))/452984832;
      case 81
        dNdxi1 = -(625*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(625*xi(1)^4 + 300*xi(1)^3 - 390*xi(1)^2 - 156*xi(1) + 5))/226492416;
        dNdxi2 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(390625*xi(2)^4 - 62500*xi(2)^3 - 318750*xi(2)^2 + 42500*xi(2) + 28125))/226492416;
        dNdxi3 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 - 2500*xi(3)^3 - 750*xi(3)^2 + 500*xi(3) + 9))/226492416;
      case 82
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(1)^4 + 187500*xi(1)^3 - 243750*xi(1)^2 - 97500*xi(1) + 3125))/226492416;
        dNdxi2 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 - 2500*xi(2)^3 - 750*xi(2)^2 + 500*xi(2) + 9))/226492416;
        dNdxi3 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(625*xi(3)^4 - 100*xi(3)^3 - 510*xi(3)^2 + 68*xi(3) + 45))/226492416;
      case 83
        dNdxi1 = (625*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 + 2500*xi(1)^3 - 750*xi(1)^2 - 500*xi(1) + 9))/226492416;
        dNdxi2 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 + 300*xi(2)^3 - 390*xi(2)^2 - 156*xi(2) + 5))/226492416;
        dNdxi3 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(390625*xi(3)^4 - 62500*xi(3)^3 - 318750*xi(3)^2 + 42500*xi(3) + 28125))/226492416;
      case 84
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(1)^4 - 187500*xi(1)^3 - 243750*xi(1)^2 + 97500*xi(1) + 3125))/226492416;
        dNdxi2 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 + 2500*xi(2)^3 - 750*xi(2)^2 - 500*xi(2) + 9))/226492416;
        dNdxi3 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) + 1)*(625*xi(3)^4 - 100*xi(3)^3 - 510*xi(3)^2 + 68*xi(3) + 45))/226492416;
      case 85
        dNdxi1 = (625*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 - 2500*xi(1)^3 - 750*xi(1)^2 + 500*xi(1) + 9))/226492416;
        dNdxi2 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 - 300*xi(2)^3 - 390*xi(2)^2 + 156*xi(2) + 5))/226492416;
        dNdxi3 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(xi(1) - 1)*(xi(2) - 1)*(xi(2) + 1)*(390625*xi(3)^4 - 62500*xi(3)^3 - 318750*xi(3)^2 + 42500*xi(3) + 28125))/226492416;
      case 86
        dNdxi1 = (625*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) + 1)*(625*xi(1)^4 + 300*xi(1)^3 - 390*xi(1)^2 - 156*xi(1) + 5))/226492416;
        dNdxi2 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) + 1)*(390625*xi(2)^4 - 62500*xi(2)^3 - 318750*xi(2)^2 + 42500*xi(2) + 28125))/226492416;
        dNdxi3 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 + 2500*xi(3)^3 - 750*xi(3)^2 - 500*xi(3) + 9))/226492416;
      case 87
        dNdxi1 = (625*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(625*xi(1)^4 + 300*xi(1)^3 - 390*xi(1)^2 - 156*xi(1) + 5))/226492416;
        dNdxi2 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(390625*xi(2)^4 + 62500*xi(2)^3 - 318750*xi(2)^2 - 42500*xi(2) + 28125))/226492416;
        dNdxi3 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 - 2500*xi(3)^3 - 750*xi(3)^2 + 500*xi(3) + 9))/226492416;
      case 88
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(1)^4 + 187500*xi(1)^3 - 243750*xi(1)^2 - 97500*xi(1) + 3125))/226492416;
        dNdxi2 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 - 2500*xi(2)^3 - 750*xi(2)^2 + 500*xi(2) + 9))/226492416;
        dNdxi3 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(625*xi(3)^4 + 100*xi(3)^3 - 510*xi(3)^2 - 68*xi(3) + 45))/226492416;
      case 89
        dNdxi1 = -(625*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 + 2500*xi(1)^3 - 750*xi(1)^2 - 500*xi(1) + 9))/226492416;
        dNdxi2 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 + 300*xi(2)^3 - 390*xi(2)^2 - 156*xi(2) + 5))/226492416;
        dNdxi3 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(390625*xi(3)^4 + 62500*xi(3)^3 - 318750*xi(3)^2 - 42500*xi(3) + 28125))/226492416;
      case 90
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(1)^4 - 187500*xi(1)^3 - 243750*xi(1)^2 + 97500*xi(1) + 3125))/226492416;
        dNdxi2 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 + 2500*xi(2)^3 - 750*xi(2)^2 - 500*xi(2) + 9))/226492416;
        dNdxi3 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) + 1)*(625*xi(3)^4 + 100*xi(3)^3 - 510*xi(3)^2 - 68*xi(3) + 45))/226492416;
      case 91
        dNdxi1 = -(625*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 - 2500*xi(1)^3 - 750*xi(1)^2 + 500*xi(1) + 9))/226492416;
        dNdxi2 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 - 300*xi(2)^3 - 390*xi(2)^2 + 156*xi(2) + 5))/226492416;
        dNdxi3 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(xi(1) - 1)*(xi(2) - 1)*(xi(2) + 1)*(390625*xi(3)^4 + 62500*xi(3)^3 - 318750*xi(3)^2 - 42500*xi(3) + 28125))/226492416;
      case 92
        dNdxi1 = -(625*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) + 1)*(625*xi(1)^4 + 300*xi(1)^3 - 390*xi(1)^2 - 156*xi(1) + 5))/226492416;
        dNdxi2 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) + 1)*(390625*xi(2)^4 + 62500*xi(2)^3 - 318750*xi(2)^2 - 42500*xi(2) + 28125))/226492416;
        dNdxi3 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 + 2500*xi(3)^3 - 750*xi(3)^2 - 500*xi(3) + 9))/226492416;
      case 93
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(390625*xi(1)^4 + 187500*xi(1)^3 - 243750*xi(1)^2 - 97500*xi(1) + 3125))/452984832;
        dNdxi2 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(625*xi(2)^4 + 300*xi(2)^3 - 390*xi(2)^2 - 156*xi(2) + 5))/452984832;
        dNdxi3 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 - 2500*xi(3)^3 - 750*xi(3)^2 + 500*xi(3) + 9))/452984832;
      case 94
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(1)^4 + 187500*xi(1)^3 - 243750*xi(1)^2 - 97500*xi(1) + 3125))/452984832;
        dNdxi2 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 - 2500*xi(2)^3 - 750*xi(2)^2 + 500*xi(2) + 9))/452984832;
        dNdxi3 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(625*xi(3)^4 + 300*xi(3)^3 - 390*xi(3)^2 - 156*xi(3) + 5))/452984832;
      case 95
        dNdxi1 = (625*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 + 2500*xi(1)^3 - 750*xi(1)^2 - 500*xi(1) + 9))/452984832;
        dNdxi2 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(2)^4 + 187500*xi(2)^3 - 243750*xi(2)^2 - 97500*xi(2) + 3125))/452984832;
        dNdxi3 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 300*xi(3)^3 - 390*xi(3)^2 - 156*xi(3) + 5))/452984832;
      case 96
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(1)^4 - 187500*xi(1)^3 - 243750*xi(1)^2 + 97500*xi(1) + 3125))/452984832;
        dNdxi2 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 + 2500*xi(2)^3 - 750*xi(2)^2 - 500*xi(2) + 9))/452984832;
        dNdxi3 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) + 1)*(625*xi(3)^4 + 300*xi(3)^3 - 390*xi(3)^2 - 156*xi(3) + 5))/452984832;
      case 97
        dNdxi1 = (625*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 - 2500*xi(1)^3 - 750*xi(1)^2 + 500*xi(1) + 9))/452984832;
        dNdxi2 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(2)^4 - 187500*xi(2)^3 - 243750*xi(2)^2 + 97500*xi(2) + 3125))/452984832;
        dNdxi3 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(xi(1) - 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 300*xi(3)^3 - 390*xi(3)^2 - 156*xi(3) + 5))/452984832;
      case 98
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) + 1)*(390625*xi(1)^4 + 187500*xi(1)^3 - 243750*xi(1)^2 - 97500*xi(1) + 3125))/452984832;
        dNdxi2 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) + 1)*(625*xi(2)^4 + 300*xi(2)^3 - 390*xi(2)^2 - 156*xi(2) + 5))/452984832;
        dNdxi3 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 + 2500*xi(3)^3 - 750*xi(3)^2 - 500*xi(3) + 9))/452984832;
      case 99
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(390625*xi(1)^4 + 62500*xi(1)^3 - 318750*xi(1)^2 - 42500*xi(1) + 28125))/226492416;
        dNdxi2 = (625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(625*xi(2)^4 + 300*xi(2)^3 - 390*xi(2)^2 - 156*xi(2) + 5))/226492416;
        dNdxi3 = (625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 - 2500*xi(3)^3 - 750*xi(3)^2 + 500*xi(3) + 9))/226492416;
      case 100
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(1)^4 + 62500*xi(1)^3 - 318750*xi(1)^2 - 42500*xi(1) + 28125))/226492416;
        dNdxi2 = (625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 - 2500*xi(2)^3 - 750*xi(2)^2 + 500*xi(2) + 9))/226492416;
        dNdxi3 = (625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(625*xi(3)^4 + 300*xi(3)^3 - 390*xi(3)^2 - 156*xi(3) + 5))/226492416;
      case 101
        dNdxi1 = -(625*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 + 2500*xi(1)^3 - 750*xi(1)^2 - 500*xi(1) + 9))/226492416;
        dNdxi2 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(2)^4 + 62500*xi(2)^3 - 318750*xi(2)^2 - 42500*xi(2) + 28125))/226492416;
        dNdxi3 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 300*xi(3)^3 - 390*xi(3)^2 - 156*xi(3) + 5))/226492416;
      case 102
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(1)^4 - 62500*xi(1)^3 - 318750*xi(1)^2 + 42500*xi(1) + 28125))/226492416;
        dNdxi2 = (625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 + 2500*xi(2)^3 - 750*xi(2)^2 - 500*xi(2) + 9))/226492416;
        dNdxi3 = (625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) + 1)*(625*xi(3)^4 + 300*xi(3)^3 - 390*xi(3)^2 - 156*xi(3) + 5))/226492416;
      case 103
        dNdxi1 = -(625*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 - 2500*xi(1)^3 - 750*xi(1)^2 + 500*xi(1) + 9))/226492416;
        dNdxi2 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(2)^4 - 62500*xi(2)^3 - 318750*xi(2)^2 + 42500*xi(2) + 28125))/226492416;
        dNdxi3 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 300*xi(3)^3 - 390*xi(3)^2 - 156*xi(3) + 5))/226492416;
      case 104
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) + 1)*(390625*xi(1)^4 + 62500*xi(1)^3 - 318750*xi(1)^2 - 42500*xi(1) + 28125))/226492416;
        dNdxi2 = -(625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) + 1)*(625*xi(2)^4 + 300*xi(2)^3 - 390*xi(2)^2 - 156*xi(2) + 5))/226492416;
        dNdxi3 = -(625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 + 2500*xi(3)^3 - 750*xi(3)^2 - 500*xi(3) + 9))/226492416;
      case 105
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(390625*xi(1)^4 - 62500*xi(1)^3 - 318750*xi(1)^2 + 42500*xi(1) + 28125))/226492416;
        dNdxi2 = -(625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(625*xi(2)^4 + 300*xi(2)^3 - 390*xi(2)^2 - 156*xi(2) + 5))/226492416;
        dNdxi3 = -(625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 - 2500*xi(3)^3 - 750*xi(3)^2 + 500*xi(3) + 9))/226492416;
      case 106
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(1)^4 - 62500*xi(1)^3 - 318750*xi(1)^2 + 42500*xi(1) + 28125))/226492416;
        dNdxi2 = -(625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 - 2500*xi(2)^3 - 750*xi(2)^2 + 500*xi(2) + 9))/226492416;
        dNdxi3 = -(625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(625*xi(3)^4 + 300*xi(3)^3 - 390*xi(3)^2 - 156*xi(3) + 5))/226492416;
      case 107
        dNdxi1 = (625*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 + 2500*xi(1)^3 - 750*xi(1)^2 - 500*xi(1) + 9))/226492416;
        dNdxi2 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(2)^4 - 62500*xi(2)^3 - 318750*xi(2)^2 + 42500*xi(2) + 28125))/226492416;
        dNdxi3 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 300*xi(3)^3 - 390*xi(3)^2 - 156*xi(3) + 5))/226492416;
      case 108
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(1)^4 + 62500*xi(1)^3 - 318750*xi(1)^2 - 42500*xi(1) + 28125))/226492416;
        dNdxi2 = -(625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 + 2500*xi(2)^3 - 750*xi(2)^2 - 500*xi(2) + 9))/226492416;
        dNdxi3 = -(625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) + 1)*(625*xi(3)^4 + 300*xi(3)^3 - 390*xi(3)^2 - 156*xi(3) + 5))/226492416;
      case 109
        dNdxi1 = (625*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 - 2500*xi(1)^3 - 750*xi(1)^2 + 500*xi(1) + 9))/226492416;
        dNdxi2 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(2)^4 + 62500*xi(2)^3 - 318750*xi(2)^2 - 42500*xi(2) + 28125))/226492416;
        dNdxi3 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 300*xi(3)^3 - 390*xi(3)^2 - 156*xi(3) + 5))/226492416;
      case 110
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) + 1)*(390625*xi(1)^4 - 62500*xi(1)^3 - 318750*xi(1)^2 + 42500*xi(1) + 28125))/226492416;
        dNdxi2 = (625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) + 1)*(625*xi(2)^4 + 300*xi(2)^3 - 390*xi(2)^2 - 156*xi(2) + 5))/226492416;
        dNdxi3 = (625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 + 2500*xi(3)^3 - 750*xi(3)^2 - 500*xi(3) + 9))/226492416;
      case 111
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(390625*xi(1)^4 - 187500*xi(1)^3 - 243750*xi(1)^2 + 97500*xi(1) + 3125))/452984832;
        dNdxi2 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(625*xi(2)^4 + 300*xi(2)^3 - 390*xi(2)^2 - 156*xi(2) + 5))/452984832;
        dNdxi3 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 - 2500*xi(3)^3 - 750*xi(3)^2 + 500*xi(3) + 9))/452984832;
      case 112
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(1)^4 - 187500*xi(1)^3 - 243750*xi(1)^2 + 97500*xi(1) + 3125))/452984832;
        dNdxi2 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 - 2500*xi(2)^3 - 750*xi(2)^2 + 500*xi(2) + 9))/452984832;
        dNdxi3 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(625*xi(3)^4 + 300*xi(3)^3 - 390*xi(3)^2 - 156*xi(3) + 5))/452984832;
      case 113
        dNdxi1 = -(625*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 + 2500*xi(1)^3 - 750*xi(1)^2 - 500*xi(1) + 9))/452984832;
        dNdxi2 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(2)^4 - 187500*xi(2)^3 - 243750*xi(2)^2 + 97500*xi(2) + 3125))/452984832;
        dNdxi3 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 300*xi(3)^3 - 390*xi(3)^2 - 156*xi(3) + 5))/452984832;
      case 114
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(1)^4 + 187500*xi(1)^3 - 243750*xi(1)^2 - 97500*xi(1) + 3125))/452984832;
        dNdxi2 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 + 2500*xi(2)^3 - 750*xi(2)^2 - 500*xi(2) + 9))/452984832;
        dNdxi3 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) + 1)*(625*xi(3)^4 + 300*xi(3)^3 - 390*xi(3)^2 - 156*xi(3) + 5))/452984832;
      case 115
        dNdxi1 = -(625*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 - 2500*xi(1)^3 - 750*xi(1)^2 + 500*xi(1) + 9))/452984832;
        dNdxi2 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(2)^4 + 187500*xi(2)^3 - 243750*xi(2)^2 - 97500*xi(2) + 3125))/452984832;
        dNdxi3 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 300*xi(3)^3 - 390*xi(3)^2 - 156*xi(3) + 5))/452984832;
      case 116
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) + 1)*(390625*xi(1)^4 - 187500*xi(1)^3 - 243750*xi(1)^2 + 97500*xi(1) + 3125))/452984832;
        dNdxi2 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) + 1)*(625*xi(2)^4 + 300*xi(2)^3 - 390*xi(2)^2 - 156*xi(2) + 5))/452984832;
        dNdxi3 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 + 2500*xi(3)^3 - 750*xi(3)^2 - 500*xi(3) + 9))/452984832;
      case 117
        dNdxi1 = -(625*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(625*xi(1)^4 - 300*xi(1)^3 - 390*xi(1)^2 + 156*xi(1) + 5))/226492416;
        dNdxi2 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(390625*xi(2)^4 + 62500*xi(2)^3 - 318750*xi(2)^2 - 42500*xi(2) + 28125))/226492416;
        dNdxi3 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 - 2500*xi(3)^3 - 750*xi(3)^2 + 500*xi(3) + 9))/226492416;
      case 118
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(1)^4 - 187500*xi(1)^3 - 243750*xi(1)^2 + 97500*xi(1) + 3125))/226492416;
        dNdxi2 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 - 2500*xi(2)^3 - 750*xi(2)^2 + 500*xi(2) + 9))/226492416;
        dNdxi3 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(625*xi(3)^4 + 100*xi(3)^3 - 510*xi(3)^2 - 68*xi(3) + 45))/226492416;
      case 119
        dNdxi1 = (625*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 + 2500*xi(1)^3 - 750*xi(1)^2 - 500*xi(1) + 9))/226492416;
        dNdxi2 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 - 300*xi(2)^3 - 390*xi(2)^2 + 156*xi(2) + 5))/226492416;
        dNdxi3 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(390625*xi(3)^4 + 62500*xi(3)^3 - 318750*xi(3)^2 - 42500*xi(3) + 28125))/226492416;
      case 120
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(1)^4 + 187500*xi(1)^3 - 243750*xi(1)^2 - 97500*xi(1) + 3125))/226492416;
        dNdxi2 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 + 2500*xi(2)^3 - 750*xi(2)^2 - 500*xi(2) + 9))/226492416;
        dNdxi3 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) + 1)*(625*xi(3)^4 + 100*xi(3)^3 - 510*xi(3)^2 - 68*xi(3) + 45))/226492416;
      case 121
        dNdxi1 = (625*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 - 2500*xi(1)^3 - 750*xi(1)^2 + 500*xi(1) + 9))/226492416;
        dNdxi2 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 + 300*xi(2)^3 - 390*xi(2)^2 - 156*xi(2) + 5))/226492416;
        dNdxi3 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(2) - 1)*(xi(2) + 1)*(390625*xi(3)^4 + 62500*xi(3)^3 - 318750*xi(3)^2 - 42500*xi(3) + 28125))/226492416;
      case 122
        dNdxi1 = (625*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) + 1)*(625*xi(1)^4 - 300*xi(1)^3 - 390*xi(1)^2 + 156*xi(1) + 5))/226492416;
        dNdxi2 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) + 1)*(390625*xi(2)^4 + 62500*xi(2)^3 - 318750*xi(2)^2 - 42500*xi(2) + 28125))/226492416;
        dNdxi3 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 + 2500*xi(3)^3 - 750*xi(3)^2 - 500*xi(3) + 9))/226492416;
      case 123
        dNdxi1 = (625*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(625*xi(1)^4 - 300*xi(1)^3 - 390*xi(1)^2 + 156*xi(1) + 5))/226492416;
        dNdxi2 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(390625*xi(2)^4 - 62500*xi(2)^3 - 318750*xi(2)^2 + 42500*xi(2) + 28125))/226492416;
        dNdxi3 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 - 2500*xi(3)^3 - 750*xi(3)^2 + 500*xi(3) + 9))/226492416;
      case 124
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(1)^4 - 187500*xi(1)^3 - 243750*xi(1)^2 + 97500*xi(1) + 3125))/226492416;
        dNdxi2 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 - 2500*xi(2)^3 - 750*xi(2)^2 + 500*xi(2) + 9))/226492416;
        dNdxi3 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(625*xi(3)^4 - 100*xi(3)^3 - 510*xi(3)^2 + 68*xi(3) + 45))/226492416;
      case 125
        dNdxi1 = -(625*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 + 2500*xi(1)^3 - 750*xi(1)^2 - 500*xi(1) + 9))/226492416;
        dNdxi2 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 - 300*xi(2)^3 - 390*xi(2)^2 + 156*xi(2) + 5))/226492416;
        dNdxi3 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(390625*xi(3)^4 - 62500*xi(3)^3 - 318750*xi(3)^2 + 42500*xi(3) + 28125))/226492416;
      case 126
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(1)^4 + 187500*xi(1)^3 - 243750*xi(1)^2 - 97500*xi(1) + 3125))/226492416;
        dNdxi2 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 + 2500*xi(2)^3 - 750*xi(2)^2 - 500*xi(2) + 9))/226492416;
        dNdxi3 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) + 1)*(625*xi(3)^4 - 100*xi(3)^3 - 510*xi(3)^2 + 68*xi(3) + 45))/226492416;
      case 127
        dNdxi1 = -(625*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 - 2500*xi(1)^3 - 750*xi(1)^2 + 500*xi(1) + 9))/226492416;
        dNdxi2 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 + 300*xi(2)^3 - 390*xi(2)^2 - 156*xi(2) + 5))/226492416;
        dNdxi3 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(2) - 1)*(xi(2) + 1)*(390625*xi(3)^4 - 62500*xi(3)^3 - 318750*xi(3)^2 + 42500*xi(3) + 28125))/226492416;
      case 128
        dNdxi1 = -(625*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) + 1)*(625*xi(1)^4 - 300*xi(1)^3 - 390*xi(1)^2 + 156*xi(1) + 5))/226492416;
        dNdxi2 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) + 1)*(390625*xi(2)^4 - 62500*xi(2)^3 - 318750*xi(2)^2 + 42500*xi(2) + 28125))/226492416;
        dNdxi3 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 + 2500*xi(3)^3 - 750*xi(3)^2 - 500*xi(3) + 9))/226492416;
      case 129
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(390625*xi(1)^4 - 62500*xi(1)^3 - 318750*xi(1)^2 + 42500*xi(1) + 28125))/113246208;
        dNdxi2 = -(625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(625*xi(2)^4 - 100*xi(2)^3 - 510*xi(2)^2 + 68*xi(2) + 45))/113246208;
        dNdxi3 = -(625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 - 2500*xi(3)^3 - 750*xi(3)^2 + 500*xi(3) + 9))/113246208;
      case 130
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(1)^4 - 62500*xi(1)^3 - 318750*xi(1)^2 + 42500*xi(1) + 28125))/113246208;
        dNdxi2 = -(625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 - 2500*xi(2)^3 - 750*xi(2)^2 + 500*xi(2) + 9))/113246208;
        dNdxi3 = -(625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(625*xi(3)^4 - 100*xi(3)^3 - 510*xi(3)^2 + 68*xi(3) + 45))/113246208;
      case 131
        dNdxi1 = (625*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 + 2500*xi(1)^3 - 750*xi(1)^2 - 500*xi(1) + 9))/113246208;
        dNdxi2 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(2)^4 - 62500*xi(2)^3 - 318750*xi(2)^2 + 42500*xi(2) + 28125))/113246208;
        dNdxi3 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 100*xi(3)^3 - 510*xi(3)^2 + 68*xi(3) + 45))/113246208;
      case 132
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(1)^4 + 62500*xi(1)^3 - 318750*xi(1)^2 - 42500*xi(1) + 28125))/113246208;
        dNdxi2 = -(625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 + 2500*xi(2)^3 - 750*xi(2)^2 - 500*xi(2) + 9))/113246208;
        dNdxi3 = -(625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) + 1)*(625*xi(3)^4 - 100*xi(3)^3 - 510*xi(3)^2 + 68*xi(3) + 45))/113246208;
      case 133
        dNdxi1 = (625*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 - 2500*xi(1)^3 - 750*xi(1)^2 + 500*xi(1) + 9))/113246208;
        dNdxi2 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(2)^4 + 62500*xi(2)^3 - 318750*xi(2)^2 - 42500*xi(2) + 28125))/113246208;
        dNdxi3 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 100*xi(3)^3 - 510*xi(3)^2 + 68*xi(3) + 45))/113246208;
      case 134
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) + 1)*(390625*xi(1)^4 - 62500*xi(1)^3 - 318750*xi(1)^2 + 42500*xi(1) + 28125))/113246208;
        dNdxi2 = (625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) + 1)*(625*xi(2)^4 - 100*xi(2)^3 - 510*xi(2)^2 + 68*xi(2) + 45))/113246208;
        dNdxi3 = (625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 + 2500*xi(3)^3 - 750*xi(3)^2 - 500*xi(3) + 9))/113246208;
      case 135
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(390625*xi(1)^4 + 62500*xi(1)^3 - 318750*xi(1)^2 - 42500*xi(1) + 28125))/113246208;
        dNdxi2 = (625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(625*xi(2)^4 - 100*xi(2)^3 - 510*xi(2)^2 + 68*xi(2) + 45))/113246208;
        dNdxi3 = (625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 - 2500*xi(3)^3 - 750*xi(3)^2 + 500*xi(3) + 9))/113246208;
      case 136
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(1)^4 + 62500*xi(1)^3 - 318750*xi(1)^2 - 42500*xi(1) + 28125))/113246208;
        dNdxi2 = (625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 - 2500*xi(2)^3 - 750*xi(2)^2 + 500*xi(2) + 9))/113246208;
        dNdxi3 = (625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(625*xi(3)^4 - 100*xi(3)^3 - 510*xi(3)^2 + 68*xi(3) + 45))/113246208;
      case 137
        dNdxi1 = -(625*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 + 2500*xi(1)^3 - 750*xi(1)^2 - 500*xi(1) + 9))/113246208;
        dNdxi2 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(2)^4 + 62500*xi(2)^3 - 318750*xi(2)^2 - 42500*xi(2) + 28125))/113246208;
        dNdxi3 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 100*xi(3)^3 - 510*xi(3)^2 + 68*xi(3) + 45))/113246208;
      case 138
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(1)^4 - 62500*xi(1)^3 - 318750*xi(1)^2 + 42500*xi(1) + 28125))/113246208;
        dNdxi2 = (625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 + 2500*xi(2)^3 - 750*xi(2)^2 - 500*xi(2) + 9))/113246208;
        dNdxi3 = (625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) + 1)*(625*xi(3)^4 - 100*xi(3)^3 - 510*xi(3)^2 + 68*xi(3) + 45))/113246208;
      case 139
        dNdxi1 = -(625*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 - 2500*xi(1)^3 - 750*xi(1)^2 + 500*xi(1) + 9))/113246208;
        dNdxi2 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(2)^4 - 62500*xi(2)^3 - 318750*xi(2)^2 + 42500*xi(2) + 28125))/113246208;
        dNdxi3 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 100*xi(3)^3 - 510*xi(3)^2 + 68*xi(3) + 45))/113246208;
      case 140
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) + 1)*(390625*xi(1)^4 + 62500*xi(1)^3 - 318750*xi(1)^2 - 42500*xi(1) + 28125))/113246208;
        dNdxi2 = -(625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) + 1)*(625*xi(2)^4 - 100*xi(2)^3 - 510*xi(2)^2 + 68*xi(2) + 45))/113246208;
        dNdxi3 = -(625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 + 2500*xi(3)^3 - 750*xi(3)^2 - 500*xi(3) + 9))/113246208;
      case 141
        dNdxi1 = -((5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(390625*xi(1)^4 + 62500*xi(1)^3 - 318750*xi(1)^2 - 42500*xi(1) + 28125))/113246208;
        dNdxi2 = -(625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(625*xi(2)^4 + 100*xi(2)^3 - 510*xi(2)^2 - 68*xi(2) + 45))/113246208;
        dNdxi3 = -(625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 - 2500*xi(3)^3 - 750*xi(3)^2 + 500*xi(3) + 9))/113246208;
      case 142
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(1)^4 + 62500*xi(1)^3 - 318750*xi(1)^2 - 42500*xi(1) + 28125))/113246208;
        dNdxi2 = -(625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 - 2500*xi(2)^3 - 750*xi(2)^2 + 500*xi(2) + 9))/113246208;
        dNdxi3 = -(625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(625*xi(3)^4 + 100*xi(3)^3 - 510*xi(3)^2 - 68*xi(3) + 45))/113246208;
      case 143
        dNdxi1 = (625*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 + 2500*xi(1)^3 - 750*xi(1)^2 - 500*xi(1) + 9))/113246208;
        dNdxi2 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(2)^4 + 62500*xi(2)^3 - 318750*xi(2)^2 - 42500*xi(2) + 28125))/113246208;
        dNdxi3 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 100*xi(3)^3 - 510*xi(3)^2 - 68*xi(3) + 45))/113246208;
      case 144
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(1)^4 - 62500*xi(1)^3 - 318750*xi(1)^2 + 42500*xi(1) + 28125))/113246208;
        dNdxi2 = -(625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 + 2500*xi(2)^3 - 750*xi(2)^2 - 500*xi(2) + 9))/113246208;
        dNdxi3 = -(625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) + 1)*(625*xi(3)^4 + 100*xi(3)^3 - 510*xi(3)^2 - 68*xi(3) + 45))/113246208;
      case 145
        dNdxi1 = (625*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 - 2500*xi(1)^3 - 750*xi(1)^2 + 500*xi(1) + 9))/113246208;
        dNdxi2 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(2)^4 - 62500*xi(2)^3 - 318750*xi(2)^2 + 42500*xi(2) + 28125))/113246208;
        dNdxi3 = (625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 100*xi(3)^3 - 510*xi(3)^2 - 68*xi(3) + 45))/113246208;
      case 146
        dNdxi1 = ((5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) + 1)*(390625*xi(1)^4 + 62500*xi(1)^3 - 318750*xi(1)^2 - 42500*xi(1) + 28125))/113246208;
        dNdxi2 = (625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) + 1)*(625*xi(2)^4 + 100*xi(2)^3 - 510*xi(2)^2 - 68*xi(2) + 45))/113246208;
        dNdxi3 = (625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 + 2500*xi(3)^3 - 750*xi(3)^2 - 500*xi(3) + 9))/113246208;
      case 147
        dNdxi1 = ((5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(390625*xi(1)^4 - 62500*xi(1)^3 - 318750*xi(1)^2 + 42500*xi(1) + 28125))/113246208;
        dNdxi2 = (625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(625*xi(2)^4 + 100*xi(2)^3 - 510*xi(2)^2 - 68*xi(2) + 45))/113246208;
        dNdxi3 = (625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 - 2500*xi(3)^3 - 750*xi(3)^2 + 500*xi(3) + 9))/113246208;
      case 148
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(1)^4 - 62500*xi(1)^3 - 318750*xi(1)^2 + 42500*xi(1) + 28125))/113246208;
        dNdxi2 = (625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 - 2500*xi(2)^3 - 750*xi(2)^2 + 500*xi(2) + 9))/113246208;
        dNdxi3 = (625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(625*xi(3)^4 + 100*xi(3)^3 - 510*xi(3)^2 - 68*xi(3) + 45))/113246208;
      case 149
        dNdxi1 = -(625*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 + 2500*xi(1)^3 - 750*xi(1)^2 - 500*xi(1) + 9))/113246208;
        dNdxi2 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(2)^4 - 62500*xi(2)^3 - 318750*xi(2)^2 + 42500*xi(2) + 28125))/113246208;
        dNdxi3 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 100*xi(3)^3 - 510*xi(3)^2 - 68*xi(3) + 45))/113246208;
      case 150
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(1)^4 + 62500*xi(1)^3 - 318750*xi(1)^2 - 42500*xi(1) + 28125))/113246208;
        dNdxi2 = (625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(2)^4 + 2500*xi(2)^3 - 750*xi(2)^2 - 500*xi(2) + 9))/113246208;
        dNdxi3 = (625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) + 1)*(625*xi(3)^4 + 100*xi(3)^3 - 510*xi(3)^2 - 68*xi(3) + 45))/113246208;
      case 151
        dNdxi1 = -(625*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(3125*xi(1)^4 - 2500*xi(1)^3 - 750*xi(1)^2 + 500*xi(1) + 9))/113246208;
        dNdxi2 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(3) - 1)*(xi(3) + 1)*(390625*xi(2)^4 + 62500*xi(2)^3 - 318750*xi(2)^2 - 42500*xi(2) + 28125))/113246208;
        dNdxi3 = -(625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 100*xi(3)^3 - 510*xi(3)^2 - 68*xi(3) + 45))/113246208;
      case 152
        dNdxi1 = -((5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) + 1)*(390625*xi(1)^4 - 62500*xi(1)^3 - 318750*xi(1)^2 + 42500*xi(1) + 28125))/113246208;
        dNdxi2 = -(625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) + 1)*(625*xi(2)^4 + 100*xi(2)^3 - 510*xi(2)^2 - 68*xi(2) + 45))/113246208;
        dNdxi3 = -(625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(3125*xi(3)^4 + 2500*xi(3)^3 - 750*xi(3)^2 - 500*xi(3) + 9))/113246208;
      case 153
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 - 4687500*xi(1)^3 - 6093750*xi(1)^2 + 2437500*xi(1) + 78125))/452984832;
        dNdxi2 = (15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 - 300*xi(2)^3 - 390*xi(2)^2 + 156*xi(2) + 5))/452984832;
        dNdxi3 = (15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 300*xi(3)^3 - 390*xi(3)^2 + 156*xi(3) + 5))/452984832;
      case 154
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 - 1562500*xi(1)^3 - 7968750*xi(1)^2 + 1062500*xi(1) + 703125))/226492416;
        dNdxi2 = -(15625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 - 300*xi(2)^3 - 390*xi(2)^2 + 156*xi(2) + 5))/226492416;
        dNdxi3 = -(15625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 300*xi(3)^3 - 390*xi(3)^2 + 156*xi(3) + 5))/226492416;
      case 155
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 + 1562500*xi(1)^3 - 7968750*xi(1)^2 - 1062500*xi(1) + 703125))/226492416;
        dNdxi2 = (15625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 - 300*xi(2)^3 - 390*xi(2)^2 + 156*xi(2) + 5))/226492416;
        dNdxi3 = (15625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 300*xi(3)^3 - 390*xi(3)^2 + 156*xi(3) + 5))/226492416;
      case 156
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 + 4687500*xi(1)^3 - 6093750*xi(1)^2 - 2437500*xi(1) + 78125))/452984832;
        dNdxi2 = -(15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 - 300*xi(2)^3 - 390*xi(2)^2 + 156*xi(2) + 5))/452984832;
        dNdxi3 = -(15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 300*xi(3)^3 - 390*xi(3)^2 + 156*xi(3) + 5))/452984832;
      case 157
        dNdxi1 = -(15625*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(1)^4 - 300*xi(1)^3 - 390*xi(1)^2 + 156*xi(1) + 5))/226492416;
        dNdxi2 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(2)^4 - 1562500*xi(2)^3 - 7968750*xi(2)^2 + 1062500*xi(2) + 703125))/226492416;
        dNdxi3 = -(15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 300*xi(3)^3 - 390*xi(3)^2 + 156*xi(3) + 5))/226492416;
      case 158
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 - 1562500*xi(1)^3 - 7968750*xi(1)^2 + 1062500*xi(1) + 703125))/113246208;
        dNdxi2 = (15625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 - 100*xi(2)^3 - 510*xi(2)^2 + 68*xi(2) + 45))/113246208;
        dNdxi3 = (15625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 300*xi(3)^3 - 390*xi(3)^2 + 156*xi(3) + 5))/113246208;
      case 159
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 + 1562500*xi(1)^3 - 7968750*xi(1)^2 - 1062500*xi(1) + 703125))/113246208;
        dNdxi2 = -(15625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 - 100*xi(2)^3 - 510*xi(2)^2 + 68*xi(2) + 45))/113246208;
        dNdxi3 = -(15625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 300*xi(3)^3 - 390*xi(3)^2 + 156*xi(3) + 5))/113246208;
      case 160
        dNdxi1 = (15625*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(1)^4 + 300*xi(1)^3 - 390*xi(1)^2 - 156*xi(1) + 5))/226492416;
        dNdxi2 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(2)^4 - 1562500*xi(2)^3 - 7968750*xi(2)^2 + 1062500*xi(2) + 703125))/226492416;
        dNdxi3 = (15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 300*xi(3)^3 - 390*xi(3)^2 + 156*xi(3) + 5))/226492416;
      case 161
        dNdxi1 = (15625*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(1)^4 - 300*xi(1)^3 - 390*xi(1)^2 + 156*xi(1) + 5))/226492416;
        dNdxi2 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(2)^4 + 1562500*xi(2)^3 - 7968750*xi(2)^2 - 1062500*xi(2) + 703125))/226492416;
        dNdxi3 = (15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 300*xi(3)^3 - 390*xi(3)^2 + 156*xi(3) + 5))/226492416;
      case 162
        dNdxi1 = -((5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 - 1562500*xi(1)^3 - 7968750*xi(1)^2 + 1062500*xi(1) + 703125))/113246208;
        dNdxi2 = -(15625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 + 100*xi(2)^3 - 510*xi(2)^2 - 68*xi(2) + 45))/113246208;
        dNdxi3 = -(15625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 300*xi(3)^3 - 390*xi(3)^2 + 156*xi(3) + 5))/113246208;
      case 163
        dNdxi1 = ((5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 + 1562500*xi(1)^3 - 7968750*xi(1)^2 - 1062500*xi(1) + 703125))/113246208;
        dNdxi2 = (15625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 + 100*xi(2)^3 - 510*xi(2)^2 - 68*xi(2) + 45))/113246208;
        dNdxi3 = (15625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 300*xi(3)^3 - 390*xi(3)^2 + 156*xi(3) + 5))/113246208;
      case 164
        dNdxi1 = -(15625*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(1)^4 + 300*xi(1)^3 - 390*xi(1)^2 - 156*xi(1) + 5))/226492416;
        dNdxi2 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(2)^4 + 1562500*xi(2)^3 - 7968750*xi(2)^2 - 1062500*xi(2) + 703125))/226492416;
        dNdxi3 = -(15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 300*xi(3)^3 - 390*xi(3)^2 + 156*xi(3) + 5))/226492416;
      case 165
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 - 4687500*xi(1)^3 - 6093750*xi(1)^2 + 2437500*xi(1) + 78125))/452984832;
        dNdxi2 = -(15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 + 300*xi(2)^3 - 390*xi(2)^2 - 156*xi(2) + 5))/452984832;
        dNdxi3 = -(15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 300*xi(3)^3 - 390*xi(3)^2 + 156*xi(3) + 5))/452984832;
      case 166
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 - 1562500*xi(1)^3 - 7968750*xi(1)^2 + 1062500*xi(1) + 703125))/226492416;
        dNdxi2 = (15625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 + 300*xi(2)^3 - 390*xi(2)^2 - 156*xi(2) + 5))/226492416;
        dNdxi3 = (15625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 300*xi(3)^3 - 390*xi(3)^2 + 156*xi(3) + 5))/226492416;
      case 167
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 + 1562500*xi(1)^3 - 7968750*xi(1)^2 - 1062500*xi(1) + 703125))/226492416;
        dNdxi2 = -(15625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 + 300*xi(2)^3 - 390*xi(2)^2 - 156*xi(2) + 5))/226492416;
        dNdxi3 = -(15625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 300*xi(3)^3 - 390*xi(3)^2 + 156*xi(3) + 5))/226492416;
      case 168
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 + 4687500*xi(1)^3 - 6093750*xi(1)^2 - 2437500*xi(1) + 78125))/452984832;
        dNdxi2 = (15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 + 300*xi(2)^3 - 390*xi(2)^2 - 156*xi(2) + 5))/452984832;
        dNdxi3 = (15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 300*xi(3)^3 - 390*xi(3)^2 + 156*xi(3) + 5))/452984832;
      case 169
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 - 4687500*xi(1)^3 - 6093750*xi(1)^2 + 2437500*xi(1) + 78125))/226492416;
        dNdxi2 = -(15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 - 300*xi(2)^3 - 390*xi(2)^2 + 156*xi(2) + 5))/226492416;
        dNdxi3 = -(15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 100*xi(3)^3 - 510*xi(3)^2 + 68*xi(3) + 45))/226492416;
      case 170
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 - 1562500*xi(1)^3 - 7968750*xi(1)^2 + 1062500*xi(1) + 703125))/113246208;
        dNdxi2 = (15625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 - 300*xi(2)^3 - 390*xi(2)^2 + 156*xi(2) + 5))/113246208;
        dNdxi3 = (15625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 100*xi(3)^3 - 510*xi(3)^2 + 68*xi(3) + 45))/113246208;
      case 171
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 + 1562500*xi(1)^3 - 7968750*xi(1)^2 - 1062500*xi(1) + 703125))/113246208;
        dNdxi2 = -(15625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 - 300*xi(2)^3 - 390*xi(2)^2 + 156*xi(2) + 5))/113246208;
        dNdxi3 = -(15625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 100*xi(3)^3 - 510*xi(3)^2 + 68*xi(3) + 45))/113246208;
      case 172
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 + 4687500*xi(1)^3 - 6093750*xi(1)^2 - 2437500*xi(1) + 78125))/226492416;
        dNdxi2 = (15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 - 300*xi(2)^3 - 390*xi(2)^2 + 156*xi(2) + 5))/226492416;
        dNdxi3 = (15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 100*xi(3)^3 - 510*xi(3)^2 + 68*xi(3) + 45))/226492416;
      case 173
        dNdxi1 = (15625*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(1)^4 - 300*xi(1)^3 - 390*xi(1)^2 + 156*xi(1) + 5))/113246208;
        dNdxi2 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(2)^4 - 1562500*xi(2)^3 - 7968750*xi(2)^2 + 1062500*xi(2) + 703125))/113246208;
        dNdxi3 = (15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 100*xi(3)^3 - 510*xi(3)^2 + 68*xi(3) + 45))/113246208;
      case 174
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 - 1562500*xi(1)^3 - 7968750*xi(1)^2 + 1062500*xi(1) + 703125))/56623104;
        dNdxi2 = -(15625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 - 100*xi(2)^3 - 510*xi(2)^2 + 68*xi(2) + 45))/56623104;
        dNdxi3 = -(15625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 100*xi(3)^3 - 510*xi(3)^2 + 68*xi(3) + 45))/56623104;
      case 175
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 + 1562500*xi(1)^3 - 7968750*xi(1)^2 - 1062500*xi(1) + 703125))/56623104;
        dNdxi2 = (15625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 - 100*xi(2)^3 - 510*xi(2)^2 + 68*xi(2) + 45))/56623104;
        dNdxi3 = (15625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 100*xi(3)^3 - 510*xi(3)^2 + 68*xi(3) + 45))/56623104;
      case 176
        dNdxi1 = -(15625*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(1)^4 + 300*xi(1)^3 - 390*xi(1)^2 - 156*xi(1) + 5))/113246208;
        dNdxi2 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(2)^4 - 1562500*xi(2)^3 - 7968750*xi(2)^2 + 1062500*xi(2) + 703125))/113246208;
        dNdxi3 = -(15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 100*xi(3)^3 - 510*xi(3)^2 + 68*xi(3) + 45))/113246208;
      case 177
        dNdxi1 = -(15625*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(1)^4 - 300*xi(1)^3 - 390*xi(1)^2 + 156*xi(1) + 5))/113246208;
        dNdxi2 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(2)^4 + 1562500*xi(2)^3 - 7968750*xi(2)^2 - 1062500*xi(2) + 703125))/113246208;
        dNdxi3 = -(15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 100*xi(3)^3 - 510*xi(3)^2 + 68*xi(3) + 45))/113246208;
      case 178
        dNdxi1 = ((5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 - 1562500*xi(1)^3 - 7968750*xi(1)^2 + 1062500*xi(1) + 703125))/56623104;
        dNdxi2 = (15625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 + 100*xi(2)^3 - 510*xi(2)^2 - 68*xi(2) + 45))/56623104;
        dNdxi3 = (15625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 100*xi(3)^3 - 510*xi(3)^2 + 68*xi(3) + 45))/56623104;
      case 179
        dNdxi1 = -((5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 + 1562500*xi(1)^3 - 7968750*xi(1)^2 - 1062500*xi(1) + 703125))/56623104;
        dNdxi2 = -(15625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 + 100*xi(2)^3 - 510*xi(2)^2 - 68*xi(2) + 45))/56623104;
        dNdxi3 = -(15625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 100*xi(3)^3 - 510*xi(3)^2 + 68*xi(3) + 45))/56623104;
      case 180
        dNdxi1 = (15625*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(1)^4 + 300*xi(1)^3 - 390*xi(1)^2 - 156*xi(1) + 5))/113246208;
        dNdxi2 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(2)^4 + 1562500*xi(2)^3 - 7968750*xi(2)^2 - 1062500*xi(2) + 703125))/113246208;
        dNdxi3 = (15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 100*xi(3)^3 - 510*xi(3)^2 + 68*xi(3) + 45))/113246208;
      case 181
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 - 4687500*xi(1)^3 - 6093750*xi(1)^2 + 2437500*xi(1) + 78125))/226492416;
        dNdxi2 = (15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 + 300*xi(2)^3 - 390*xi(2)^2 - 156*xi(2) + 5))/226492416;
        dNdxi3 = (15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 100*xi(3)^3 - 510*xi(3)^2 + 68*xi(3) + 45))/226492416;
      case 182
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 - 1562500*xi(1)^3 - 7968750*xi(1)^2 + 1062500*xi(1) + 703125))/113246208;
        dNdxi2 = -(15625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 + 300*xi(2)^3 - 390*xi(2)^2 - 156*xi(2) + 5))/113246208;
        dNdxi3 = -(15625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 100*xi(3)^3 - 510*xi(3)^2 + 68*xi(3) + 45))/113246208;
      case 183
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 + 1562500*xi(1)^3 - 7968750*xi(1)^2 - 1062500*xi(1) + 703125))/113246208;
        dNdxi2 = (15625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 + 300*xi(2)^3 - 390*xi(2)^2 - 156*xi(2) + 5))/113246208;
        dNdxi3 = (15625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 100*xi(3)^3 - 510*xi(3)^2 + 68*xi(3) + 45))/113246208;
      case 184
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 + 4687500*xi(1)^3 - 6093750*xi(1)^2 - 2437500*xi(1) + 78125))/226492416;
        dNdxi2 = -(15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 + 300*xi(2)^3 - 390*xi(2)^2 - 156*xi(2) + 5))/226492416;
        dNdxi3 = -(15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 - 100*xi(3)^3 - 510*xi(3)^2 + 68*xi(3) + 45))/226492416;
      case 185
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 - 4687500*xi(1)^3 - 6093750*xi(1)^2 + 2437500*xi(1) + 78125))/226492416;
        dNdxi2 = (15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 - 300*xi(2)^3 - 390*xi(2)^2 + 156*xi(2) + 5))/226492416;
        dNdxi3 = (15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 100*xi(3)^3 - 510*xi(3)^2 - 68*xi(3) + 45))/226492416;
      case 186
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 - 1562500*xi(1)^3 - 7968750*xi(1)^2 + 1062500*xi(1) + 703125))/113246208;
        dNdxi2 = -(15625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 - 300*xi(2)^3 - 390*xi(2)^2 + 156*xi(2) + 5))/113246208;
        dNdxi3 = -(15625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 100*xi(3)^3 - 510*xi(3)^2 - 68*xi(3) + 45))/113246208;
      case 187
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 + 1562500*xi(1)^3 - 7968750*xi(1)^2 - 1062500*xi(1) + 703125))/113246208;
        dNdxi2 = (15625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 - 300*xi(2)^3 - 390*xi(2)^2 + 156*xi(2) + 5))/113246208;
        dNdxi3 = (15625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 100*xi(3)^3 - 510*xi(3)^2 - 68*xi(3) + 45))/113246208;
      case 188
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 + 4687500*xi(1)^3 - 6093750*xi(1)^2 - 2437500*xi(1) + 78125))/226492416;
        dNdxi2 = -(15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 - 300*xi(2)^3 - 390*xi(2)^2 + 156*xi(2) + 5))/226492416;
        dNdxi3 = -(15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 100*xi(3)^3 - 510*xi(3)^2 - 68*xi(3) + 45))/226492416;
      case 189
        dNdxi1 = -(15625*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(1)^4 - 300*xi(1)^3 - 390*xi(1)^2 + 156*xi(1) + 5))/113246208;
        dNdxi2 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(2)^4 - 1562500*xi(2)^3 - 7968750*xi(2)^2 + 1062500*xi(2) + 703125))/113246208;
        dNdxi3 = -(15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 100*xi(3)^3 - 510*xi(3)^2 - 68*xi(3) + 45))/113246208;
      case 190
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 - 1562500*xi(1)^3 - 7968750*xi(1)^2 + 1062500*xi(1) + 703125))/56623104;
        dNdxi2 = (15625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 - 100*xi(2)^3 - 510*xi(2)^2 + 68*xi(2) + 45))/56623104;
        dNdxi3 = (15625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 100*xi(3)^3 - 510*xi(3)^2 - 68*xi(3) + 45))/56623104;
      case 191
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 + 1562500*xi(1)^3 - 7968750*xi(1)^2 - 1062500*xi(1) + 703125))/56623104;
        dNdxi2 = -(15625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 - 100*xi(2)^3 - 510*xi(2)^2 + 68*xi(2) + 45))/56623104;
        dNdxi3 = -(15625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 100*xi(3)^3 - 510*xi(3)^2 - 68*xi(3) + 45))/56623104;
      case 192
        dNdxi1 = (15625*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(1)^4 + 300*xi(1)^3 - 390*xi(1)^2 - 156*xi(1) + 5))/113246208;
        dNdxi2 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(2)^4 - 1562500*xi(2)^3 - 7968750*xi(2)^2 + 1062500*xi(2) + 703125))/113246208;
        dNdxi3 = (15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 100*xi(3)^3 - 510*xi(3)^2 - 68*xi(3) + 45))/113246208;
      case 193
        dNdxi1 = (15625*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(1)^4 - 300*xi(1)^3 - 390*xi(1)^2 + 156*xi(1) + 5))/113246208;
        dNdxi2 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(2)^4 + 1562500*xi(2)^3 - 7968750*xi(2)^2 - 1062500*xi(2) + 703125))/113246208;
        dNdxi3 = (15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 100*xi(3)^3 - 510*xi(3)^2 - 68*xi(3) + 45))/113246208;
      case 194
        dNdxi1 = -((5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 - 1562500*xi(1)^3 - 7968750*xi(1)^2 + 1062500*xi(1) + 703125))/56623104;
        dNdxi2 = -(15625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 + 100*xi(2)^3 - 510*xi(2)^2 - 68*xi(2) + 45))/56623104;
        dNdxi3 = -(15625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 100*xi(3)^3 - 510*xi(3)^2 - 68*xi(3) + 45))/56623104;
      case 195
        dNdxi1 = ((5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 + 1562500*xi(1)^3 - 7968750*xi(1)^2 - 1062500*xi(1) + 703125))/56623104;
        dNdxi2 = (15625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 + 100*xi(2)^3 - 510*xi(2)^2 - 68*xi(2) + 45))/56623104;
        dNdxi3 = (15625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 100*xi(3)^3 - 510*xi(3)^2 - 68*xi(3) + 45))/56623104;
      case 196
        dNdxi1 = -(15625*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(1)^4 + 300*xi(1)^3 - 390*xi(1)^2 - 156*xi(1) + 5))/113246208;
        dNdxi2 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(2)^4 + 1562500*xi(2)^3 - 7968750*xi(2)^2 - 1062500*xi(2) + 703125))/113246208;
        dNdxi3 = -(15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 100*xi(3)^3 - 510*xi(3)^2 - 68*xi(3) + 45))/113246208;
      case 197
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 - 4687500*xi(1)^3 - 6093750*xi(1)^2 + 2437500*xi(1) + 78125))/226492416;
        dNdxi2 = -(15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 + 300*xi(2)^3 - 390*xi(2)^2 - 156*xi(2) + 5))/226492416;
        dNdxi3 = -(15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 100*xi(3)^3 - 510*xi(3)^2 - 68*xi(3) + 45))/226492416;
      case 198
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 - 1562500*xi(1)^3 - 7968750*xi(1)^2 + 1062500*xi(1) + 703125))/113246208;
        dNdxi2 = (15625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 + 300*xi(2)^3 - 390*xi(2)^2 - 156*xi(2) + 5))/113246208;
        dNdxi3 = (15625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 100*xi(3)^3 - 510*xi(3)^2 - 68*xi(3) + 45))/113246208;
      case 199
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 + 1562500*xi(1)^3 - 7968750*xi(1)^2 - 1062500*xi(1) + 703125))/113246208;
        dNdxi2 = -(15625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 + 300*xi(2)^3 - 390*xi(2)^2 - 156*xi(2) + 5))/113246208;
        dNdxi3 = -(15625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 100*xi(3)^3 - 510*xi(3)^2 - 68*xi(3) + 45))/113246208;
      case 200
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 + 4687500*xi(1)^3 - 6093750*xi(1)^2 - 2437500*xi(1) + 78125))/226492416;
        dNdxi2 = (15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(3) + 1)*(5*xi(3) - 3)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 + 300*xi(2)^3 - 390*xi(2)^2 - 156*xi(2) + 5))/226492416;
        dNdxi3 = (15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 100*xi(3)^3 - 510*xi(3)^2 - 68*xi(3) + 45))/226492416;
      case 201
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 - 4687500*xi(1)^3 - 6093750*xi(1)^2 + 2437500*xi(1) + 78125))/452984832;
        dNdxi2 = -(15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 - 300*xi(2)^3 - 390*xi(2)^2 + 156*xi(2) + 5))/452984832;
        dNdxi3 = -(15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 300*xi(3)^3 - 390*xi(3)^2 - 156*xi(3) + 5))/452984832;
      case 202
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 - 1562500*xi(1)^3 - 7968750*xi(1)^2 + 1062500*xi(1) + 703125))/226492416;
        dNdxi2 = (15625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 - 300*xi(2)^3 - 390*xi(2)^2 + 156*xi(2) + 5))/226492416;
        dNdxi3 = (15625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 300*xi(3)^3 - 390*xi(3)^2 - 156*xi(3) + 5))/226492416;
      case 203
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 + 1562500*xi(1)^3 - 7968750*xi(1)^2 - 1062500*xi(1) + 703125))/226492416;
        dNdxi2 = -(15625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 - 300*xi(2)^3 - 390*xi(2)^2 + 156*xi(2) + 5))/226492416;
        dNdxi3 = -(15625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 300*xi(3)^3 - 390*xi(3)^2 - 156*xi(3) + 5))/226492416;
      case 204
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 + 4687500*xi(1)^3 - 6093750*xi(1)^2 - 2437500*xi(1) + 78125))/452984832;
        dNdxi2 = (15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 - 300*xi(2)^3 - 390*xi(2)^2 + 156*xi(2) + 5))/452984832;
        dNdxi3 = (15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) - 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 300*xi(3)^3 - 390*xi(3)^2 - 156*xi(3) + 5))/452984832;
      case 205
        dNdxi1 = (15625*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(1)^4 - 300*xi(1)^3 - 390*xi(1)^2 + 156*xi(1) + 5))/226492416;
        dNdxi2 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(2)^4 - 1562500*xi(2)^3 - 7968750*xi(2)^2 + 1062500*xi(2) + 703125))/226492416;
        dNdxi3 = (15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 300*xi(3)^3 - 390*xi(3)^2 - 156*xi(3) + 5))/226492416;
      case 206
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 - 1562500*xi(1)^3 - 7968750*xi(1)^2 + 1062500*xi(1) + 703125))/113246208;
        dNdxi2 = -(15625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 - 100*xi(2)^3 - 510*xi(2)^2 + 68*xi(2) + 45))/113246208;
        dNdxi3 = -(15625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 300*xi(3)^3 - 390*xi(3)^2 - 156*xi(3) + 5))/113246208;
      case 207
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 + 1562500*xi(1)^3 - 7968750*xi(1)^2 - 1062500*xi(1) + 703125))/113246208;
        dNdxi2 = (15625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 - 100*xi(2)^3 - 510*xi(2)^2 + 68*xi(2) + 45))/113246208;
        dNdxi3 = (15625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 300*xi(3)^3 - 390*xi(3)^2 - 156*xi(3) + 5))/113246208;
      case 208
        dNdxi1 = -(15625*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(1)^4 + 300*xi(1)^3 - 390*xi(1)^2 - 156*xi(1) + 5))/226492416;
        dNdxi2 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(2)^4 - 1562500*xi(2)^3 - 7968750*xi(2)^2 + 1062500*xi(2) + 703125))/226492416;
        dNdxi3 = -(15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 300*xi(3)^3 - 390*xi(3)^2 - 156*xi(3) + 5))/226492416;
      case 209
        dNdxi1 = -(15625*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(1)^4 - 300*xi(1)^3 - 390*xi(1)^2 + 156*xi(1) + 5))/226492416;
        dNdxi2 = -((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(2)^4 + 1562500*xi(2)^3 - 7968750*xi(2)^2 - 1062500*xi(2) + 703125))/226492416;
        dNdxi3 = -(15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 300*xi(3)^3 - 390*xi(3)^2 - 156*xi(3) + 5))/226492416;
      case 210
        dNdxi1 = ((5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 - 1562500*xi(1)^3 - 7968750*xi(1)^2 + 1062500*xi(1) + 703125))/113246208;
        dNdxi2 = (15625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 + 100*xi(2)^3 - 510*xi(2)^2 - 68*xi(2) + 45))/113246208;
        dNdxi3 = (15625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 300*xi(3)^3 - 390*xi(3)^2 - 156*xi(3) + 5))/113246208;
      case 211
        dNdxi1 = -((5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 + 1562500*xi(1)^3 - 7968750*xi(1)^2 - 1062500*xi(1) + 703125))/113246208;
        dNdxi2 = -(15625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 + 100*xi(2)^3 - 510*xi(2)^2 - 68*xi(2) + 45))/113246208;
        dNdxi3 = -(15625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 300*xi(3)^3 - 390*xi(3)^2 - 156*xi(3) + 5))/113246208;
      case 212
        dNdxi1 = (15625*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(1)^4 + 300*xi(1)^3 - 390*xi(1)^2 - 156*xi(1) + 5))/226492416;
        dNdxi2 = ((5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(2)^4 + 1562500*xi(2)^3 - 7968750*xi(2)^2 - 1062500*xi(2) + 703125))/226492416;
        dNdxi3 = (15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(2) + 1)*(5*xi(2) - 3)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 300*xi(3)^3 - 390*xi(3)^2 - 156*xi(3) + 5))/226492416;
      case 213
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 - 4687500*xi(1)^3 - 6093750*xi(1)^2 + 2437500*xi(1) + 78125))/452984832;
        dNdxi2 = (15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 + 300*xi(2)^3 - 390*xi(2)^2 - 156*xi(2) + 5))/452984832;
        dNdxi3 = (15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 300*xi(3)^3 - 390*xi(3)^2 - 156*xi(3) + 5))/452984832;
      case 214
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 - 1562500*xi(1)^3 - 7968750*xi(1)^2 + 1062500*xi(1) + 703125))/226492416;
        dNdxi2 = -(15625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 + 300*xi(2)^3 - 390*xi(2)^2 - 156*xi(2) + 5))/226492416;
        dNdxi3 = -(15625*(5*xi(1) - 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 300*xi(3)^3 - 390*xi(3)^2 - 156*xi(3) + 5))/226492416;
      case 215
        dNdxi1 = ((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 + 1562500*xi(1)^3 - 7968750*xi(1)^2 - 1062500*xi(1) + 703125))/226492416;
        dNdxi2 = (15625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 + 300*xi(2)^3 - 390*xi(2)^2 - 156*xi(2) + 5))/226492416;
        dNdxi3 = (15625*(5*xi(1) + 1)*(5*xi(1) - 3)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 300*xi(3)^3 - 390*xi(3)^2 - 156*xi(3) + 5))/226492416;
      case 216
        dNdxi1 = -((5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(2) - 1)*(xi(2) + 1)*(xi(3) - 1)*(xi(3) + 1)*(9765625*xi(1)^4 + 4687500*xi(1)^3 - 6093750*xi(1)^2 - 2437500*xi(1) + 78125))/452984832;
        dNdxi2 = -(15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(3) - 1)*(5*xi(3) + 1)*(5*xi(3) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(3) - 1)*(xi(3) + 1)*(625*xi(2)^4 + 300*xi(2)^3 - 390*xi(2)^2 - 156*xi(2) + 5))/452984832;
        dNdxi3 = -(15625*(5*xi(1) - 1)*(5*xi(1) + 1)*(5*xi(1) + 3)*(5*xi(2) - 1)*(5*xi(2) + 1)*(5*xi(2) + 3)*(xi(1) - 1)*(xi(1) + 1)*(xi(2) - 1)*(xi(2) + 1)*(625*xi(3)^4 + 300*xi(3)^3 - 390*xi(3)^2 - 156*xi(3) + 5))/452984832;
    end

    if( i_eval==2 )

      vBase = aInvJac(:,1)*dNdxi1 + aInvJac(:,2)*dNdxi2 + aInvJac(:,3)*dNdxi3;

    elseif( i_eval==3 )

      vBase = aInvJac(:,4)*dNdxi1 + aInvJac(:,5)*dNdxi2 + aInvJac(:,6)*dNdxi3;

    else

      vBase = aInvJac(:,7)*dNdxi1 + aInvJac(:,8)*dNdxi2 + aInvJac(:,9)*dNdxi3;

    end

  case {22,23,24,32,33,34,42,43,44}   % Evaluation of second order derivatives.
    error('sf_hex_Q5: second order derivative evaluation not supported.')

  otherwise
    vBase = 0;

end
